This commit is contained in:
blueloveTH 2023-12-30 14:34:47 +08:00
parent f650f159b4
commit 512ca74e35

View File

@ -4,7 +4,7 @@
namespace pkpy{ namespace pkpy{
inline bool isclose(float a, float b){ return std::fabsf(a - b) <= NumberTraits<4>::kEpsilon; } inline bool isclose(float a, float b){ return std::fabs(a - b) <= NumberTraits<4>::kEpsilon; }
struct Vec2{ struct Vec2{
float x, y; float x, y;