prime/include/Kyoto/Math/CloseEnough.hpp

13 lines
335 B
C++
Raw Normal View History

2022-04-16 07:50:32 +00:00
#ifndef __CLOSEENOUGH_HPP__
#define __CLOSEENOUGH_HPP__
#include "types.h"
2022-04-16 07:50:32 +00:00
#include "CVector2f.hpp"
#include "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);
2022-04-16 07:50:32 +00:00
#endif // __CLOSEENOUGH_HPP__