浏览代码

Merge pull request #4000 from assimp/kimkulling-issue_3790

Fix euler angles
Kim Kulling 4 年之前
父节点
当前提交
8748f8591c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/assimp/quaternion.h

+ 1 - 1
include/assimp/quaternion.h

@@ -73,7 +73,7 @@ public:
     explicit aiQuaterniont( const aiMatrix3x3t<TReal>& pRotMatrix);
 
     /** Construct from euler angles */
-    aiQuaterniont( TReal rotx, TReal roty, TReal rotz);
+    aiQuaterniont( TReal roty, TReal rotz, TReal rotx);
 
     /** Construct from an axis-angle pair */
     aiQuaterniont( aiVector3t<TReal> axis, TReal angle);