Public Member Functions | |
| void | Reset (void) |
| void | Add_Vertex (const Vector3 &point, const Vector3 &normal) |
| void | Clip (const PlaneClass &plane, DecalPolyClass &dest) const |
Public Attributes | |
| SimpleDynVecClass< Vector3 > | Verts |
| SimpleDynVecClass< Vector3 > | VertNorms |
DecalPolyClass - This class is used to clip polygons as they are added to a RigidDecalMesh.
Data needed to add a poly to the decal mesh: connectivity - generated on the fly after the poly is clipped planeeq - constant for entire poly, copy from source after done verts - plug into DecalPolyClass, clip, pull back out vnorms - plug into DecalPolyClass, clip, copy back out texcoords - compute after poly is clipped material - contstant for entire poly, get from generator shader - constant for entire poly, get from generator texture - constant for entire poly, get from generator
Definition at line 84 of file decalmsh.cpp.
Definition at line 102 of file decalmsh.cpp.
| void DecalPolyClass::Clip | ( | const PlaneClass & | plane, |
| DecalPolyClass & | dest ) const |
Definition at line 108 of file decalmsh.cpp.
| void DecalPolyClass::Reset | ( | void | ) |
Definition at line 96 of file decalmsh.cpp.
| SimpleDynVecClass<Vector3> DecalPolyClass::VertNorms |
Definition at line 92 of file decalmsh.cpp.
| SimpleDynVecClass<Vector3> DecalPolyClass::Verts |
Definition at line 91 of file decalmsh.cpp.