A vertex structure containing a position, normal, and a color. More...
Public Member Functions | |
vertex (const vec3 &position, const vec3 &normal, const color &col) | |
Public Attributes | |
vec3 | p |
vec3 | n |
color | c |
A vertex structure containing a position, normal, and a color.
color cpe::vertex::c |
Referenced by cpe::apply_shading().
vec3 cpe::vertex::n |
Referenced by cpe::apply_shading().
vec3 cpe::vertex::p |
Referenced by cpe::apply_shading().