Added DebugObject and OutputEpsilon

This commit is contained in:
2024-10-05 22:37:08 +08:00
parent 1e226289d5
commit e82d921814
3 changed files with 109 additions and 2 deletions

14
math/OutputEpsilon.cpp Normal file
View File

@@ -0,0 +1,14 @@
#include<iostream>
#include<hgl/math/MathConst.h>
using namespace std;
using namespace hgl;
int main(int,char **)
{
std::cout<<"float: "<<HGL_FLOAT_EPSILON<<std::endl;
std::cout<<"double: "<<HGL_DOUBLE_EPSILON<<std::endl;
return 0;
}