mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
declare new shape types
This commit is contained in:
parent
a9dd2c7015
commit
431043e195
2 changed files with 6 additions and 0 deletions
|
@ -101,6 +101,8 @@ const char* shapeTypeNames[] = {
|
|||
"hull",
|
||||
"plane",
|
||||
"compound",
|
||||
"simple-hull",
|
||||
"simple-compound",
|
||||
"static-mesh"
|
||||
};
|
||||
|
||||
|
@ -123,6 +125,8 @@ void buildStringToShapeTypeLookup() {
|
|||
addShapeType(SHAPE_TYPE_HULL);
|
||||
addShapeType(SHAPE_TYPE_PLANE);
|
||||
addShapeType(SHAPE_TYPE_COMPOUND);
|
||||
addShapeType(SHAPE_TYPE_SIMPLE_HULL);
|
||||
addShapeType(SHAPE_TYPE_SIMPLE_COMPOUND);
|
||||
addShapeType(SHAPE_TYPE_STATIC_MESH);
|
||||
}
|
||||
|
||||
|
|
|
@ -39,6 +39,8 @@ enum ShapeType {
|
|||
SHAPE_TYPE_HULL,
|
||||
SHAPE_TYPE_PLANE,
|
||||
SHAPE_TYPE_COMPOUND,
|
||||
SHAPE_TYPE_SIMPLE_HULL,
|
||||
SHAPE_TYPE_SIMPLE_COMPOUND,
|
||||
SHAPE_TYPE_STATIC_MESH
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue