Implementation of the StandardShapes class.
More...
|
| Assimp |
| MACHINE-GENERATED by scripts/ICFImporter/CppGenerator.py.
|
|
Implementation of the StandardShapes class.
The primitive geometry data comes from http://geometrictools.com/Documentation/PlatonicSolids.pdf.
#define ADD_PENTAGON |
( |
|
n0, |
|
|
|
n1, |
|
|
|
n2, |
|
|
|
n3, |
|
|
|
n4 |
|
) |
| |
Value:if (polygons) \
{ \
positions.push_back(n0); \
positions.push_back(n1); \
positions.push_back(n2); \
positions.push_back(n3); \
positions.push_back(n4); \
} \
else \
}
#define ADD_TRIANGLE(n0, n1, n2)
Definition: StandardShapes.cpp:57
#define ADD_QUAD |
( |
|
n0, |
|
|
|
n1, |
|
|
|
n2, |
|
|
|
n3 |
|
) |
| |
Value:if (polygons) \
{ \
positions.push_back(n0); \
positions.push_back(n1); \
positions.push_back(n2); \
positions.push_back(n3); \
} \
else \
}
#define ADD_TRIANGLE(n0, n1, n2)
Definition: StandardShapes.cpp:57
#define ADD_TRIANGLE |
( |
|
n0, |
|
|
|
n1, |
|
|
|
n2 |
|
) |
| |
Value:positions.push_back(n0); \
positions.push_back(n1); \
positions.push_back(n2);