Cafu Engine
MatSys::MeshT Class Reference

This class represents a polygonal mesh. More...

#include "Mesh.hpp"

Classes

struct  VertexT
 

Public Types

enum  TypeT {
  Points, Lines, LineStrip, LineLoop,
  Triangles, TriangleStrip, TriangleFan, Quads,
  QuadStrip, Polygon
}
 
enum  WindingT { CW, CCW }
 

Public Member Functions

 MeshT (TypeT T=Points, WindingT W=CW)
 Constructor. More...
 

Public Attributes

TypeT Type
 
WindingT Winding
 The orientation (cw or ccw) of front faces. More...
 
ArrayT< VertexTVertices
 

Detailed Description

This class represents a polygonal mesh.

Constructor & Destructor Documentation

MatSys::MeshT::MeshT ( TypeT  T = Points,
WindingT  W = CW 
)
inline

Constructor.

Member Data Documentation

WindingT MatSys::MeshT::Winding

The orientation (cw or ccw) of front faces.


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