Test in both C and C++ (#58)

* Switch to custom unit testing that is compatible with C

* Remove Google Test framework

* Attempt to fix missing math functions

* Link against C math library

* Try forcing c99 again

* Include -lm at compile time

* Move -lm argument to the end

* Update README and gitignore
This commit is contained in:
Ben Visness
2017-04-07 08:47:54 -05:00
committed by GitHub
parent 67b84dece7
commit cf606db217
11 changed files with 2050 additions and 1828 deletions

View File

@@ -173,6 +173,8 @@
(*) Resolved compiler warnings on gcc and g++
1.1.2
(*) Fixed invalid HMMDEF's in the function definitions
1.1.3
(*) Fixed compile error in C mode
LICENSE
@@ -1692,7 +1694,7 @@ HMM_NLerp(hmm_quaternion Left, float Time, hmm_quaternion Right)
Result.Z = HMM_Lerp(Left.Z, Time, Right.Z);
Result.W = HMM_Lerp(Left.W, Time, Right.W);
Result = HMM_Normalize(Result);
Result = HMM_NormalizeQuaternion(Result);
return(Result);
}