diff options
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."); |