MRPT  2.0.1
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.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020