diff options
Diffstat (limited to 'source/blender/freestyle/intern/scene_graph')
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/NodeCamera.cpp | 11 | ||||
-rw-r--r-- | source/blender/freestyle/intern/scene_graph/NodeCamera.h | 2 |
2 files changed, 1 insertions, 12 deletions
diff --git a/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp b/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp index 4fc1f227172..cb30a661aaa 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp +++ b/source/blender/freestyle/intern/scene_graph/NodeCamera.cpp @@ -105,17 +105,6 @@ NodeOrthographicCamera::NodeOrthographicCamera( projection_matrix_[11] = -(zFar + zNear) / (zFar - zNear); } -NodeOrthographicCamera::NodeOrthographicCamera(const NodeOrthographicCamera &iBrother) - : NodeCamera(iBrother), - left_(iBrother.left_), - right_(iBrother.right_), - bottom_(iBrother.bottom_), - top_(iBrother.top_), - zNear_(iBrother.zNear_), - zFar_(iBrother.zFar_) -{ -} - NodePerspectiveCamera::NodePerspectiveCamera() : NodeCamera(NodeCamera::PERSPECTIVE) { } diff --git a/source/blender/freestyle/intern/scene_graph/NodeCamera.h b/source/blender/freestyle/intern/scene_graph/NodeCamera.h index cc7b1f7f67c..9e3f9046e39 100644 --- a/source/blender/freestyle/intern/scene_graph/NodeCamera.h +++ b/source/blender/freestyle/intern/scene_graph/NodeCamera.h @@ -136,7 +136,7 @@ class NodeOrthographicCamera : public NodeCamera { return zFar_; } - NodeOrthographicCamera(const NodeOrthographicCamera &iBrother); + NodeOrthographicCamera(const NodeOrthographicCamera &iBrother) = default; private: double left_; |