MRPT  2.0.0
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.0 Git: b38439d21 Tue Mar 31 19:58:06 2020 +0200 at miƩ abr 1 00:50:30 CEST 2020