summaryrefslogtreecommitdiffstats
path: root/libdimensionxx/cameras.cpp
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-07-16 21:31:59 +0000
committerTavian Barnes <tavianator@gmail.com>2009-07-16 21:31:59 +0000
commitcf3d6906df7ffb4efa5398832e44ab31fe3b2721 (patch)
tree0ed55ed0a315a27ccb42d3953ceaa9b02a868abd /libdimensionxx/cameras.cpp
parentbbe317fb2bde1b2b88df66e5426c9ee78e40a0b6 (diff)
downloaddimension-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.cpp4
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.");