#pragma once #include #include "math.h" static const float epsilon = 0.00001; inline static bool float_equal(float a, float b) { return fabsf(a - b) < epsilon; }