From e75fd5e69ad8991911ef6e20a610ba22c4a64a67 Mon Sep 17 00:00:00 2001 From: Kirill Gavrilov Date: Tue, 19 May 2015 16:03:47 +0300 Subject: [PATCH] + fixes: #0002109: Matrix4D - add missing constructor body --- src/Base/Matrix.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Base/Matrix.cpp b/src/Base/Matrix.cpp index c0c9377ee..bf9b5810d 100644 --- a/src/Base/Matrix.cpp +++ b/src/Base/Matrix.cpp @@ -72,6 +72,12 @@ Matrix4D::Matrix4D (const Vector3f& rclBase, const Vector3f& rclDir, float fAngl this->rotLine(rclBase,rclDir,fAngle); } +Matrix4D::Matrix4D (const Vector3d& rclBase, const Vector3d& rclDir, double fAngle) +{ + setToUnity(); + this->rotLine(rclBase,rclDir,fAngle); +} + void Matrix4D::setToUnity (void) { dMtrx4D[0][0] = 1.0; dMtrx4D[0][1] = 0.0; dMtrx4D[0][2] = 0.0; dMtrx4D[0][3] = 0.0;