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>
|
template<class A > |
static void | sCreateHalfUnitSphereTop (A &ioVertices, int inDetailLevel) |
| Helper function that creates a vertex list of a half unit sphere (top part)
|
|
template<class A > |
static void | sCreateHalfUnitSphereBottom (A &ioVertices, int inDetailLevel) |
| Helper function that creates a vertex list of a half unit sphere (bottom part)
|
|
template<class A > |
static void | sCreateUnitOpenCylinder (A &ioVertices, int inDetailLevel) |
| Helper function that creates an open cylinder 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()
template<class A >
static void GetTrianglesContextVertexList::sCreateHalfUnitSphereBottom |
( |
A & |
ioVertices, |
|
|
int |
inDetailLevel |
|
) |
| |
|
inlinestatic |
Helper function that creates a vertex list of a half unit sphere (bottom part)
◆ sCreateHalfUnitSphereTop()
template<class A >
static void GetTrianglesContextVertexList::sCreateHalfUnitSphereTop |
( |
A & |
ioVertices, |
|
|
int |
inDetailLevel |
|
) |
| |
|
inlinestatic |
Helper function that creates a vertex list of a half unit sphere (top part)
◆ sCreateUnitOpenCylinder()
template<class A >
static void GetTrianglesContextVertexList::sCreateUnitOpenCylinder |
( |
A & |
ioVertices, |
|
|
int |
inDetailLevel |
|
) |
| |
|
inlinestatic |
Helper function that creates an open cylinder of half height 1 and radius 1.
The documentation for this class was generated from the following file: