mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-12-28 23:54:32 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user