Struct TTriangle::Vertex

Nested Relationships

This struct is a nested type of Struct TTriangle.

Struct Documentation

struct Vertex

Public Functions

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

Public Members

mrpt::math::TPointXYZfRGBAu8 xyzrgba
mrpt::math::TVector3Df normal

Must not be normalized.

mrpt::math::TVector2Df uv

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

mrpt::math::TVector3Df tangent

Tangent vector for normal mapping (0,0,0 if unset)