prime/include/Kyoto/Math/CloseEnough.hpp
Phillip Stephens 1641986d9e Finish splitting text.s!
Former-commit-id: 85c0f3722602b0c357ddfcb5051739f0f43c5bd9
2022-04-16 00:50:32 -07:00

11 lines
331 B
C++

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