use std/glm's EPSILON instead of FLOAT_SMALL

This commit is contained in:
2024-08-24 00:20:24 +08:00
parent 58e495ddbb
commit d81d45486e
4 changed files with 58 additions and 48 deletions

View File

@@ -122,7 +122,7 @@ namespace hgl
const Quatf &GetQuat()const { return quat; }
void SetQuat(const Quatf &q)
{
if (IsNearlyEqual(quat,q))
if(IsNearlyEqual(quat,q))
return;
quat=q;