52 Ogre::Quaternion
rotation = Ogre::Quaternion::IDENTITY;
73 void setName(std::string
const& new_name) {
name = new_name; }
76 std::vector<ProceduralPointPtr>
points;
Central state/object manager and communications hub.
Self reference-counting objects, as requred by AngelScript garbage collector.
void rebuildObjectMesh(ProceduralObjectPtr po)
Rebuilds the road mesh.
virtual ~ProceduralManager() override
void deleteObjectMesh(ProceduralObjectPtr po)
Deletes the road mesh.
void addObject(ProceduralObjectPtr po)
Generates road mesh and adds to internal list.
void removeObject(ProceduralObjectPtr po)
Clears road mesh and removes from internal list.
Ogre::SceneNode * pGroupingSceneNode
ProceduralObjectPtr getObject(int pos)
std::vector< ProceduralObjectPtr > pObjects
void setName(std::string const &new_name)
ProceduralPointPtr getPoint(int pos)
bool collision_enabled
Generate collision triangles?
std::vector< ProceduralPointPtr > points
void insertPoint(int pos, ProceduralPointPtr p)
void deletePoint(int pos)
virtual ~ProceduralObject() override
ProceduralRoadPtr getRoad()
void addPoint(ProceduralPointPtr p)
ProceduralPoint(const ProceduralPoint &orig)
std::string comments
Comment line(s) preceding the point-line in the .TOBJ file.
virtual ~ProceduralPoint() override
Ogre::Quaternion rotation