Benjamin ‘Touky’ Huet Sam Hocevar <sam@hocevar.net> пре 11 година
родитељ
комит
c753233291
2 измењених фајлова са 2 додато и 4 уклоњено
  1. +2
    -2
      src/lol/math/geometry.h
  2. +0
    -2
      src/math/geometry.cpp

+ 2
- 2
src/lol/math/geometry.h Прегледај датотеку

@@ -155,8 +155,8 @@ class TestEpsilon
private:
static float g_test_epsilon;
public:
static inline float Get();
static inline void Set(float epsilon=.0001f);
static inline float Get() { return g_test_epsilon; }
static inline void Set(float epsilon=.0001f) { g_test_epsilon = epsilon; }
};

static inline bool TestAABBVsAABB(box2 const &b1, box2 const &b2)


+ 0
- 2
src/math/geometry.cpp Прегледај датотеку

@@ -26,8 +26,6 @@ namespace lol
{
//Test epsilon stuff
float TestEpsilon::g_test_epsilon = .0001f;
float TestEpsilon::Get() { return g_test_epsilon; }
void TestEpsilon::Set(float epsilon) { g_test_epsilon = epsilon; }

//Projects Point on Plane : Normal must be given normalized. returns point on plane.
vec3 ProjectPointOnPlane(vec3 const &proj_point, vec3 const &plane_point, vec3 const &plane_normal)


Loading…
Откажи
Сачувај