From 3acf60f5d74657cf7f44eb3fd73ed4bcb8ca0078 Mon Sep 17 00:00:00 2001 From: arkeon Date: Tue, 27 May 2014 11:26:55 +0200 Subject: [PATCH] Correction on quaternion initialization values a 0 0 0 0 quaternion is not valid --- include/assimp/quaternion.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/quaternion.h b/include/assimp/quaternion.h index 9c43499c1..37bfc44a5 100644 --- a/include/assimp/quaternion.h +++ b/include/assimp/quaternion.h @@ -55,7 +55,7 @@ template class aiQuaterniont { public: - aiQuaterniont() : w(), x(), y(), z() {} + aiQuaterniont() : w(1.0), x(), y(), z() {} aiQuaterniont(TReal pw, TReal px, TReal py, TReal pz) : w(pw), x(px), y(py), z(pz) {}