mirror of
https://github.com/rwengine/openrw.git
synced 2024-11-07 19:32:49 +01:00
20 lines
374 B
C++
20 lines
374 B
C++
#include <renderwure/engine/GTAObject.hpp>
|
|
#include <renderwure/loaders/LoaderIFP.hpp>
|
|
#include <renderwure/loaders/LoaderDFF.hpp>
|
|
#include <renderwure/engine/GTAEngine.hpp>
|
|
|
|
void GTAObject::setPosition(const glm::vec3& pos)
|
|
{
|
|
position = pos;
|
|
}
|
|
|
|
glm::vec3 GTAObject::getPosition() const
|
|
{
|
|
return position;
|
|
}
|
|
|
|
glm::quat GTAObject::getRotation() const
|
|
{
|
|
return rotation;
|
|
}
|