From 8bb9976503947b89d181e6957afe801c62d8d9d9 Mon Sep 17 00:00:00 2001 From: hyzboy Date: Wed, 17 Jul 2024 23:55:36 +0800 Subject: [PATCH] use FLOAT_SMALL instead of KINDA_SMALL in DeviationMatrixComp --- inc/hgl/math/Matrix.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/hgl/math/Matrix.h b/inc/hgl/math/Matrix.h index 012a0dc..a356a4f 100644 --- a/inc/hgl/math/Matrix.h +++ b/inc/hgl/math/Matrix.h @@ -192,7 +192,7 @@ namespace hgl * @param deviation 允许的误差值 */ template - inline float DeviationMatrixComp(const M &m1,const M &m2,const float deviation=HGL_FLOAT_KINDA_SMALL) + inline float DeviationMatrixComp(const M &m1,const M &m2,const float deviation=HGL_FLOAT_SMALL) { float *f1=(float *)&m1; float *f2=(float *)&m2;