Debian Codegraph @

include/Translatable.h

raw
1 #pragma once
2
3 #include "math/Vector3.h"
4
5 /// Interface for an object which can be translated
6 class Translatable
7 {
8 public:
9 virtual ~Translatable() {}
10
11 /// Translate this object by the given vector
12 virtual void translate(const Vector3& translation) = 0;
13 };
14
15