mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2025-12-28 23:54:32 +00:00
Cleaned HandmadeMath.cpp
This commit is contained in:
@@ -4,23 +4,4 @@
|
||||
#define HANDMADE_MATH_NO_INLINE
|
||||
#define GB_MATH_IMPLEMENTATION
|
||||
#include "../HandmadeMath.h"
|
||||
#include "../gb_math.h"
|
||||
|
||||
int main() {
|
||||
|
||||
hmm_quaternion q1 = { 1,0,0,0 };
|
||||
hmm_quaternion q2 = { 0,1,0,0 };
|
||||
|
||||
gbQuat q3 = { 1,0,0,0 };
|
||||
gbQuat q4 = { 0,1,0,0 };
|
||||
gbQuat result2 = { 0 };
|
||||
|
||||
float time = 0.5f;
|
||||
|
||||
hmm_quaternion Result = HMM_Slerp(q1, q2, time);
|
||||
gb_quat_slerp(&result2, q3, q4, time);
|
||||
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
#include "../gb_math.h"
|
||||
Reference in New Issue
Block a user