MRPT  2.0.3
List of all members | Public Member Functions | Public Attributes
mrpt::opengl::TTriangle::Vertex Struct Reference

Detailed Description

Definition at line 37 of file TTriangle.h.

#include <mrpt/opengl/TTriangle.h>

Public Member Functions

void setColor (const mrpt::img::TColor &c)
 

Public Attributes

mrpt::math::TPointXYZfRGBAu8 xyzrgba
 
mrpt::math::TVector3Df normal
 Must not be normalized. More...
 
mrpt::math::TVector2Df uv
 texture coordinates (0,0)-(1,1) More...
 

Member Function Documentation

◆ setColor()

void mrpt::opengl::TTriangle::Vertex::setColor ( const mrpt::img::TColor c)
inline

Member Data Documentation

◆ normal

mrpt::math::TVector3Df mrpt::opengl::TTriangle::Vertex::normal

Must not be normalized.

Definition at line 40 of file TTriangle.h.

◆ uv

mrpt::math::TVector2Df mrpt::opengl::TTriangle::Vertex::uv

texture coordinates (0,0)-(1,1)

Definition at line 41 of file TTriangle.h.

◆ xyzrgba

mrpt::math::TPointXYZfRGBAu8 mrpt::opengl::TTriangle::Vertex::xyzrgba

Definition at line 39 of file TTriangle.h.

Referenced by setColor().




Page generated by Doxygen 1.8.14 for MRPT 2.0.3 Git: 8e9e8af54 Wed May 13 17:41:24 2020 +0200 at miƩ may 13 17:55:54 CEST 2020