struct mrpt::opengl::TTriangle::Vertex¶
#include <mrpt/opengl/TTriangle.h> struct Vertex { // fields mrpt::math::TPointXYZfRGBAu8 xyzrgba; mrpt::math::TVector3Df normal; mrpt::math::TVector2Df uv; // methods void setColor(const mrpt::img::TColor& c); };
Fields¶
mrpt::math::TVector3Df normal
Must not be normalized.
mrpt::math::TVector2Df uv
texture coordinates (0,0)-(1,1)