use FLOAT_SMALL instead of KINDA_SMALL in DeviationMatrixComp

This commit is contained in:
hyzboy 2024-07-17 23:55:36 +08:00
parent 22bef5e154
commit 8bb9976503

View File

@ -192,7 +192,7 @@ namespace hgl
* @param deviation * @param deviation
*/ */
template<typename M> template<typename M>
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 *f1=(float *)&m1;
float *f2=(float *)&m2; float *f2=(float *)&m2;