cpe::triangle_shaded Struct Reference

container for triangle with shading (normal+color) information More...

Collaboration diagram for cpe::triangle_shaded:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 triangle_shaded (const v3 &_x0, const v3 &_x1, const v3 &_x2, const v3 &_n0, const v3 &_n1, const v3 &_n2, const color &_c0, const color &_c1, const color &_c2)
 direct constructor

Public Attributes

const v3x0
const v3x1
const v3x2
const v3n0
const v3n1
const v3n2
const colorc0
const colorc1
const colorc2

Detailed Description

container for triangle with shading (normal+color) information

Use reference to avoid data duplication


Constructor & Destructor Documentation

cpe::triangle_shaded::triangle_shaded ( const v3 _x0,
const v3 _x1,
const v3 _x2,
const v3 _n0,
const v3 _n1,
const v3 _n2,
const color _c0,
const color _c1,
const color _c2 
) [inline]

direct constructor


Member Data Documentation


The documentation for this struct was generated from the following file:
Generated on Mon Apr 18 20:43:35 2011 by  doxygen 1.6.3