diff options
author | cnlohr <lohr85@gmail.com> | 2017-04-07 00:54:51 -0400 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2017-04-07 00:54:51 -0400 |
commit | b93bedcc6c3fb08d028d5e787446721691b86616 (patch) | |
tree | 5d8c0d9de7260f096bb723a6a4e4f5736759c5fb | |
parent | ffe28a0d0079f56191e82eb6590c59442357983a (diff) | |
download | libsurvive-b93bedcc6c3fb08d028d5e787446721691b86616.tar.gz libsurvive-b93bedcc6c3fb08d028d5e787446721691b86616.tar.bz2 |
Fix warnings in dave's ortho.
-rw-r--r-- | src/poser_daveortho.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/poser_daveortho.c b/src/poser_daveortho.c index 906b21e..9d02bb3 100644 --- a/src/poser_daveortho.c +++ b/src/poser_daveortho.c @@ -460,10 +460,10 @@ PRINT(ab,2,1); #if 1 // matrix44transpose(T2, T); //Transpose so we are - matrix44copy(T2,T); + matrix44copy((FLT*)T2,(FLT*)T); cross3d( &T2[1][0], &T2[0][0], &T2[2][0] ); cross3d( &T2[2][0], &T2[1][0], &T2[0][0] ); //Replace axes in-place. - matrix44copy(T,T2); + matrix44copy((FLT*)T,(FLT*)T2); // matrix44transpose(T, T2); #endif @@ -493,7 +493,7 @@ PRINT(ab,2,1); #if 1 //matrix44copy(T2,T); - matrix44transpose(T2,T); + matrix44transpose((FLT*)T2,(FLT*)T); quatfrommatrix( quat, &T2[0][0] ); printf( "QM: %f\n", quatmagnitude( quat ) ); @@ -506,7 +506,7 @@ PRINT(ab,2,1); // PRINT(T,4,4); // matrix44copy(temp,T2); - matrix44transpose(temp,T2); + matrix44transpose((FLT*)temp,(FLT*)T2); // matrix44transpose(T2, temp); |