diff options
Diffstat (limited to 'libdimensionxx')
-rw-r--r-- | libdimensionxx/cameras.cpp | 4 | ||||
-rw-r--r-- | libdimensionxx/dimensionxx/cameras.hpp | 2 |
2 files changed, 3 insertions, 3 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."); diff --git a/libdimensionxx/dimensionxx/cameras.hpp b/libdimensionxx/dimensionxx/cameras.hpp index ea08535..648c3da 100644 --- a/libdimensionxx/dimensionxx/cameras.hpp +++ b/libdimensionxx/dimensionxx/cameras.hpp @@ -29,7 +29,7 @@ namespace Dimension class Perspective_Camera : public Camera { public: - Perspective_Camera(const Matrix& trans); + Perspective_Camera(); // ~Perspective_Camera(); // Get/set the transformation matrix |