Simulant  21.09-46
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
locateable.h
1 #pragma once
2 
3 #include "../types.h"
4 
5 namespace smlt {
6 
12 class Locateable {
13 public:
14  virtual ~Locateable() {}
15 
16  virtual smlt::Vec3 position() const = 0;
17  virtual smlt::Vec2 position_2d() const = 0;
18  virtual smlt::Quaternion rotation() const = 0;
19  virtual smlt::Vec3 scale() const = 0;
20 };
21 
22 }
smlt::Locateable
The Locateable class.
Definition: locateable.h:12
smlt::Vec3
Definition: vec3.h:23
smlt::Quaternion
Definition: quaternion.h:24
smlt
Definition: animation.cpp:25
smlt::Vec2
Definition: vec2.h:13