This commit is contained in:
Michael Fabain Dirks
2016-05-04 09:58:44 +02:00
parent 647f304ef8
commit b75ca4142c
516 changed files with 215559 additions and 1754 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ static void parseAnimKey( IDirectXFileData *fileData,MeshModel *e ){
if( n==4 ){
Quat rot=*(Quat*)data;
if( conv ){
if( fabs(rot.w)<1-EPSILON ){
if( fabs(rot.w)<1-FLT_EPSILON ){
rot.normalize();
//quat-to-axis/angle
float half=acosf( rot.w );