DubiousEngine
0.2.0
Simple Game Engine
|
A model represented to the Physics system. More...
#include <Physics_model.h>
Public Member Functions | |
Physics_model (const Physics_model &)=delete | |
Physics_model (const Utility::Ac3d_file &File) | |
Construct from AC3D Model. More... | |
Physics_model & | operator= (const Physics_model &)=delete |
float | radius () const |
const std::vector< Math::Local_vector > & | vectors () const |
const std::vector< std::unique_ptr< Physics_model > > & | kids () const |
A model represented to the Physics system.
The model is a shared object that contains the data necessary to represent the object to the Physics system. These are built to make collision detection faster and simpler. As such they flatten everything out to Local_vectors
|
delete |
Dubious::Physics::Physics_model::Physics_model | ( | const Utility::Ac3d_file & | File | ) |
Construct from AC3D Model.
Constructs a model from an AC3D File.
File | - [in] The file object |
|
inline |
|
delete |
|
inline |
|
inline |