diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 21:31:59 +0000 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-07-16 21:31:59 +0000 |
commit | cf3d6906df7ffb4efa5398832e44ab31fe3b2721 (patch) | |
tree | 0ed55ed0a315a27ccb42d3953ceaa9b02a868abd /libdimensionxx/cameras.cpp | |
parent | bbe317fb2bde1b2b88df66e5426c9ee78e40a0b6 (diff) | |
download | dimension-cf3d6906df7ffb4efa5398832e44ab31fe3b2721.tar.xz |
Don't take a transformation matrix in dmnsn_new_perspective_camera().
Diffstat (limited to 'libdimensionxx/cameras.cpp')
-rw-r--r-- | libdimensionxx/cameras.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimensionxx/cameras.cpp b/libdimensionxx/cameras.cpp index f9f8302..9c44fef 100644 --- a/libdimensionxx/cameras.cpp +++ b/libdimensionxx/cameras.cpp @@ -23,8 +23,8 @@ namespace Dimension { // Create a perspective camera - Perspective_Camera::Perspective_Camera(const Matrix& trans) - : Camera(dmnsn_new_perspective_camera(trans.dmnsn())) + Perspective_Camera::Perspective_Camera() + : Camera(dmnsn_new_perspective_camera()) { if (!dmnsn()) { throw Dimension_Error("Failed to allocate perspective camera."); |