mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
ObjectAccess Struct Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

ObjectAccess::ObjectAccess ( )
inline

Definition at line 43 of file FileAccess.h.

ObjectAccess::ObjectAccess ( std::string  n,
Vector3  v,
float  f 
)
inline

Definition at line 44 of file FileAccess.h.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: