1 #ifndef ENTITYMOVEABLE_H
2 #define ENTITYMOVEABLE_H
40 void rotate(QVector3D &axis,
float angle);
46 void move(QVector3D &vec);
52 virtual void scale(
float value);
62 #endif // ENTITYMOVEABLE_H
float z
The z coordinate of the entity's location.
Definition: entity.h:13
virtual void reset()
Resets the local coordinate system to the world coordinate system.
Definition: entitymoveable.cpp:27
void rotate(QVector3D &axis, float angle)
Rotates the local coordinate system around a given axis.
Definition: entitymoveable.cpp:13
float y
The y coordinate of the entity's location.
Definition: entity.h:12
An element with a location in 3-dimensional space.
Definition: entity.h:9
EntityMoveable()
Creates the Entity at the origin.
Definition: entitymoveable.cpp:3
Complements the Entity with a possibility to define and edit a local coordinate system.
Definition: entitymoveable.h:11
float x
The x coordinate of the entity's location.
Definition: entity.h:11
void move(QVector3D &vec)
Moves the model along a vector.
Definition: entitymoveable.cpp:17
virtual void scale(float value)
Scales the object around the local origin.
Definition: entitymoveable.cpp:23