4 #include <unordered_map>
15 using std::unordered_map;
37 static BoundingBox*
createBoundingBox(
Model* model,
const unordered_map<string, Matrix4x4*> overriddenNodeTransformMatrices = unordered_map<string, Matrix4x4*>());
94 static void invertNormals(
const unordered_map<string, Node*>& nodes);
Representation of a 3D model.
Axis aligned bounding box used for frustum, this is not directly connectable with physics engine.
static void invertNormals(Model *model)
Invert normals of a model.
static void computeModelStatistics(Model *model, ModelStatistics *modelStatistics)
Compute model statistics.
static bool equals(Model *model1, Model *model2)
Compute if model 1 equals model 2.
static BoundingBox * createBoundingBox(Model *model, const unordered_map< string, Matrix4x4 * > overriddenNodeTransformMatrices=unordered_map< string, Matrix4x4 * >())
Creates a bounding box from given model.
static BoundingBox * createBoundingBoxNoMesh(ObjectModelInternal *objectModelInternal)
Creates a bounding box from given object model without mesh.
Object model To be used in non engine context.
Matrix4x4 class representing matrix4x4 mathematical structure and operations for 3d space.