aboutsummaryrefslogtreecommitdiffhomepage
path: root/demos/opengl/camera.h
diff options
context:
space:
mode:
authorGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-08-17 20:03:50 +0200
committerGravatar Hauke Heibel <hauke.heibel@gmail.com>2010-08-17 20:03:50 +0200
commit85fdcdf0554918a485112ed078417379f691d01b (patch)
treed567a6be5691c67cc6341cc560366abc292f6232 /demos/opengl/camera.h
parent87aafc9169cd549213c8a950bbeabada109b00ef (diff)
Fixed Geometry module failures.
Removed default parameter from Transform. Removed the TransformXX typedefs. Removed references to TransformXX from unit tests and docs. Assigning Transforms to a sub-group is now forbidden at compile time. Products should now properly support the Isometry flag. Fixed alignment checks in MapBase.
Diffstat (limited to 'demos/opengl/camera.h')
-rw-r--r--demos/opengl/camera.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/opengl/camera.h b/demos/opengl/camera.h
index 53b8f1e26..c5c3a73e8 100644
--- a/demos/opengl/camera.h
+++ b/demos/opengl/camera.h
@@ -90,7 +90,7 @@ class Camera
void setTarget(const Eigen::Vector3f& target);
inline const Eigen::Vector3f& target(void) { return mTarget; }
- const Eigen::Transform3f& viewMatrix(void) const;
+ const Eigen::Affine3f& viewMatrix(void) const;
const Eigen::Matrix4f& projectionMatrix(void) const;
void rotateAroundTarget(const Eigen::Quaternionf& q);
@@ -116,7 +116,7 @@ class Camera
Frame mFrame;
- mutable Eigen::Transform3f mViewMatrix;
+ mutable Eigen::Affine3f mViewMatrix;
mutable Eigen::Matrix4f mProjectionMatrix;
mutable bool mViewIsUptodate;