Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
                          )



Add a material for the whole object using:

Code Block
byte setMaterial (Cmaterial material);

...