A vertex structure containing a position, normal, and a color. More...
Public Member Functions | |
vertex (const vec3 &position, const vec3 &normal, const color &col) | |
Direct constructor from a position, normal and color. More... | |
Public Attributes | |
vec3 | p |
the 3D position More... | |
vec3 | n |
the normal More... | |
color | c |
the color More... | |
A vertex structure containing a position, normal, and a color.
Direct constructor from a position, normal and color.
color cpe::vertex::c |
the color
vec3 cpe::vertex::n |
the normal
vec3 cpe::vertex::p |
the 3D position