libcootapi
 
Loading...
Searching...
No Matches
g_triangle_with_colour_index Class Reference

#include <g_triangle.hh>

Inheritance diagram for g_triangle_with_colour_index:
g_triangle

Public Member Functions

 g_triangle_with_colour_index (const unsigned int &a0, const unsigned int &a1, const unsigned int &a2)
 
- Public Member Functions inherited from g_triangle
 g_triangle (const unsigned int &a0, const unsigned int &a1, const unsigned int &a2)
 constructor
 
unsigned int & operator[] (const unsigned int &i)
 int colour_index;
 
const unsigned int & operator[] (const unsigned int &i) const
 
void rebase (const unsigned int &idx_base)
 use rebase() when adding more vertices and triangles into a mesh.
 
void reverse_winding ()
 in-place reverse the winding of this triangle
 

Public Attributes

int colour_index
 
- Public Attributes inherited from g_triangle
unsigned int point_id [3]
 

Detailed Description

a triangle with a colour index - helpful, I think when transfering colour/material information to Blender.


The documentation for this class was generated from the following file: