![]() |
RigsofRods
Soft-body Physics Simulation
|
#include <TObjFileFormat.h>
Public Member Functions | |
TObjEntry () | |
TObjEntry (Ogre::Vector3 pos, Ogre::Vector3 rot, const char *instance_name, TObjSpecialObject special, const char *type, const char *name) | |
bool | IsActor () const |
bool | IsRoad () const |
Data Fields | |
Ogre::Vector3 | position = Ogre::Vector3::ZERO |
Ogre::Vector3 | rotation = Ogre::Vector3::ZERO |
TObjSpecialObject | special = TObjSpecialObject::NONE |
char | type [TObj::STR_LEN] = {} |
char | instance_name [TObj::STR_LEN] = {} |
char | odef_name [TObj::STR_LEN] = {} |
float | rendering_distance = 0.f |
std::string | comments |
Comment line(s) preceding the object-line in the .TOBJ file. More... | |
Definition at line 120 of file TObjFileFormat.h.
|
inline |
Definition at line 122 of file TObjFileFormat.h.
TObjEntry::TObjEntry | ( | Ogre::Vector3 | pos, |
Ogre::Vector3 | rot, | ||
const char * | instance_name, | ||
TObjSpecialObject | special, | ||
const char * | type, | ||
const char * | name | ||
) |
Definition at line 33 of file TObjFileFormat.cpp.
bool TObjEntry::IsActor | ( | ) | const |
Definition at line 48 of file TObjFileFormat.cpp.
bool TObjEntry::IsRoad | ( | ) | const |
Definition at line 43 of file TObjFileFormat.cpp.
std::string RoR::TObjEntry::comments |
Comment line(s) preceding the object-line in the .TOBJ file.
Definition at line 137 of file TObjFileFormat.h.
char RoR::TObjEntry::instance_name[TObj::STR_LEN] = {} |
Definition at line 134 of file TObjFileFormat.h.
char RoR::TObjEntry::odef_name[TObj::STR_LEN] = {} |
Definition at line 135 of file TObjFileFormat.h.
Ogre::Vector3 RoR::TObjEntry::position = Ogre::Vector3::ZERO |
Definition at line 130 of file TObjFileFormat.h.
float RoR::TObjEntry::rendering_distance = 0.f |
Definition at line 136 of file TObjFileFormat.h.
Ogre::Vector3 RoR::TObjEntry::rotation = Ogre::Vector3::ZERO |
Definition at line 131 of file TObjFileFormat.h.
TObjSpecialObject RoR::TObjEntry::special = TObjSpecialObject::NONE |
Definition at line 132 of file TObjFileFormat.h.
char RoR::TObjEntry::type[TObj::STR_LEN] = {} |
Definition at line 133 of file TObjFileFormat.h.