Implementation of GetTrianglesStart/Next that uses a fixed list of vertices for the triangles. These are transformed into world space when getting the triangles.
More...
#include <GetTrianglesContext.h>
|
static void | sCreateHalfUnitSphereTop (std::vector< Vec3 > &ioVertices, int inDetailLevel) |
| Helper function that creates a vertex list of a half unit sphere (top part)
|
|
static void | sCreateHalfUnitSphereBottom (std::vector< Vec3 > &ioVertices, int inDetailLevel) |
| Helper function that creates a vertex list of a half unit sphere (bottom part)
|
|
static void | sCreateUnitOpenCylinder (std::vector< Vec3 > &ioVertices, int inDetailLevel) |
| Helper function that creates an open cyclinder of half height 1 and radius 1.
|
|
Implementation of GetTrianglesStart/Next that uses a fixed list of vertices for the triangles. These are transformed into world space when getting the triangles.
◆ GetTrianglesContextVertexList()
GetTrianglesContextVertexList::GetTrianglesContextVertexList |
( |
Vec3Arg | inPositionCOM, |
|
|
QuatArg | inRotation, |
|
|
Vec3Arg | inScale, |
|
|
Mat44Arg | inLocalTransform, |
|
|
const Vec3 * | inTriangleVertices, |
|
|
size_t | inNumTriangleVertices, |
|
|
const PhysicsMaterial * | inMaterial ) |
|
inline |
Constructor, to be called in GetTrianglesStart.
◆ GetTrianglesNext()
int GetTrianglesContextVertexList::GetTrianglesNext |
( |
int | inMaxTrianglesRequested, |
|
|
Float3 * | outTriangleVertices, |
|
|
const PhysicsMaterial ** | outMaterials ) |
|
inline |
◆ sCreateHalfUnitSphereBottom()
static void GetTrianglesContextVertexList::sCreateHalfUnitSphereBottom |
( |
std::vector< Vec3 > & | ioVertices, |
|
|
int | inDetailLevel ) |
|
inlinestatic |
Helper function that creates a vertex list of a half unit sphere (bottom part)
◆ sCreateHalfUnitSphereTop()
static void GetTrianglesContextVertexList::sCreateHalfUnitSphereTop |
( |
std::vector< Vec3 > & | ioVertices, |
|
|
int | inDetailLevel ) |
|
inlinestatic |
Helper function that creates a vertex list of a half unit sphere (top part)
◆ sCreateUnitOpenCylinder()
static void GetTrianglesContextVertexList::sCreateUnitOpenCylinder |
( |
std::vector< Vec3 > & | ioVertices, |
|
|
int | inDetailLevel ) |
|
inlinestatic |
Helper function that creates an open cyclinder of half height 1 and radius 1.
The documentation for this class was generated from the following file: