MRPT  1.9.9
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 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020