mirror of
https://github.com/HandmadeMath/HandmadeMath.git
synced 2026-04-14 20:35:47 +00:00
small improvement
This commit is contained in:
@@ -2332,7 +2332,7 @@ static inline HMM_Quat HMM_NormQ(HMM_Quat Quat)
|
||||
/* NOTE(lcf): Take advantage of SSE implementation in HMM_NormV4 */
|
||||
HMM_Vec4 Vec = HMM_V4(Quat.X, Quat.Y, Quat.Z, Quat.W);
|
||||
Vec = HMM_NormV4(Vec);
|
||||
HMM_Quat Result = HMM_Q(Vec.X, Vec.Y, Vec.Z, Vec.W);
|
||||
HMM_Quat Result = HMM_QV4(Vec);
|
||||
|
||||
return Result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user