| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "math/Quaternion.h" |
| 4 |
|
| 5 |
/// Interface for an object which can be rotated |
| 6 |
class Rotatable |
| 7 |
{ |
| 8 |
public: |
| 9 |
virtual ~Rotatable() {} |
| 10 |
|
| 11 |
/// Rotate the object by the given Quaternion |
| 12 |
virtual void rotate(const Quaternion& rotation) = 0; |
| 13 |
}; |
| 14 |
|
| 15 |
|