25 #ifndef GRAPHICS_AURORA_GEOMETRYOBJECT_H 26 #define GRAPHICS_AURORA_GEOMETRYOBJECT_H 44 void getPosition(
float &x,
float &y,
float &z)
const;
46 void getRotation(
float &x,
float &y,
float &z)
const;
54 void move (
float x,
float y,
float z);
56 void rotate(
float x,
float y,
float z);
74 #endif // GRAPHICS_AURORA_GEOMETRYOBJECT_H GeometryObject(const VertexBuffer &vBuf, const IndexBuffer &iBuf)
void calculateDistance()
Calculate the object's distance.
VertexBuffer _vertexBuffer
void setPosition(float x, float y, float z)
Set the current position of the model.
void getPosition(float &x, float &y, float &z) const
Get the current position of the model.
void rotate(float x, float y, float z)
Rotate the model, relative to its current rotation.
void render(RenderPass pass)
Render the object.
Buffer containing vertex data.
void getRotation(float &x, float &y, float &z) const
Get the current rotation of the model.
An object that can be displayed by the graphics manager.
Buffer containing indices data.
void setRotation(float x, float y, float z)
Set the current rotation of the model.
An object that can be displayed by the graphics manager.
void move(float x, float y, float z)
Move the model, relative to its current position.