aboutsummaryrefslogtreecommitdiffhomepage
path: root/demos/opengl/camera.h
diff options
context:
space:
mode:
authorGravatar Gael Guennebaud <g.gael@free.fr>2009-03-13 13:17:19 +0000
committerGravatar Gael Guennebaud <g.gael@free.fr>2009-03-13 13:17:19 +0000
commit312994fa988e94e54b1e30aa28d06dca0c4c6f2a (patch)
tree7bde0b06fa1c1e31f870da0ad9ffe21511842a0d /demos/opengl/camera.h
parentc6264d9b7e238740885cbc16b01964a9f1930487 (diff)
opengl demo: add aligned operator new where appropriate and remove my
mess...
Diffstat (limited to 'demos/opengl/camera.h')
-rw-r--r--demos/opengl/camera.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/demos/opengl/camera.h b/demos/opengl/camera.h
index f6d0d7da3..44a1ca9ed 100644
--- a/demos/opengl/camera.h
+++ b/demos/opengl/camera.h
@@ -32,6 +32,8 @@
class Frame
{
public:
+ EIGEN_MAKE_ALIGNED_OPERATOR_NEW
+
inline Frame(const Eigen::Vector3f& pos = Eigen::Vector3f::Zero(),
const Eigen::Quaternionf& o = Eigen::Quaternionf())
: orientation(o), position(pos)
@@ -49,6 +51,7 @@ class Frame
class Camera
{
public:
+ EIGEN_MAKE_ALIGNED_OPERATOR_NEW
Camera(void);