...
Code Block |
---|
byte Cmaxwell::setSinglePrecisionOfGeometry( void ) |
Add vertices using:
Code Block |
---|
byte Cmaxwell::setVertex( dword iVertex, // vertex index_ dword iPosition, // vertex pos (0, ...__nPositionsPerVertex--1) Cpoint point // position_ ) |
Add normals using:
Code Block |
---|
byte Cmaxwell::setNormal( dword iNormal, // normal index dword iPosition, // normal pos (0 ..nPositionsPerVertex-1) Cvector normal // normal XYZ direction ) |
Add triangles using:
Code Block |
---|
byte Cmaxwell::setTriangle( dword iTriangle, // triangle index dword iVertex1, dword iVertex2, dword iVertex3, // 3 point indexes dword iNormal1, dword iNormal2, dword iNormal3 // 3 normal indexes ) |
...