|
mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
|
Contains the necessary data for a 3d object in mElite. More...
#include <FileAccess.h>
Public Member Functions | |
| ObjectAccess () | |
| ObjectAccess (std::string n, Vector3 v, float f) | |
Public Attributes | |
| std::string | name |
| Vector3 | view |
| float | factor |
Contains the necessary data for a 3d object in mElite.
An object is loaded from a file (which is given by its file name). During the load process, the size of the object can be scaled. Each object has a view direction (e. g. for space ships, this is the direction in which the ships are flying, if they are flying forward).
Definition at line 42 of file FileAccess.h.
|
inline |
Definition at line 43 of file FileAccess.h.
|
inline |
Definition at line 44 of file FileAccess.h.
| float ObjectAccess::factor |
Definition at line 47 of file FileAccess.h.
| std::string ObjectAccess::name |
Definition at line 45 of file FileAccess.h.
| Vector3 ObjectAccess::view |
Definition at line 46 of file FileAccess.h.
1.8.2