Browse Source

Removed unnecessary functions.

Lasse Öörni 13 years ago
parent
commit
97828ae8ce
1 changed files with 0 additions and 12 deletions
  1. 0 12
      Engine/Graphics/DecalSet.cpp

+ 0 - 12
Engine/Graphics/DecalSet.cpp

@@ -42,18 +42,6 @@
 static const Vector3 DOT_SCALE(1 / 3.0f, 1 / 3.0f, 1 / 3.0f);
 static const unsigned DEFAULT_MAX_VERTICES = 1024;
 
-inline Vector3 ClipEdge(const Vector3& v0, const Vector3& v1, float d0, float d1)
-{
-    float t = d0 / (d0 - d1);
-    return v0 + t * (v1 - v0);
-}
-
-inline Vector2 ClipEdge(const Vector2& v0, const Vector2& v1, float d0, float d1)
-{
-    float t = d0 / (d0 - d1);
-    return v0 + t * (v1 - v0);
-}
-
 void Decal::CalculateBoundingBox()
 {
     boundingBox_.Clear();