prime/include/Kyoto/Math/CloseEnough.hpp
Luke Street 9d3a5c7670 Move back to 1.3.2 compiler
Former-commit-id: 1107bdaa26d4d991ec9f7d00e4736d2012561f98
2022-08-09 19:07:49 -04:00

13 lines
357 B
C++

#ifndef __CLOSEENOUGH_HPP__
#define __CLOSEENOUGH_HPP__
#include "types.h"
#include "Kyoto/Math/CVector2f.hpp"
#include "Kyoto/Math/CVector3f.hpp"
static bool close_enough(const CVector2f& a, const CVector2f& b, f32 epsilon = 0.001f);
static bool close_enough(const CVector3f& a, const CVector3f& b, f32 epsilon = 0.001f);
#endif // __CLOSEENOUGH_HPP__