summaryrefslogtreecommitdiffhomepage
path: root/Opcode/Ice/IceIndexedTriangle.h
diff options
context:
space:
mode:
Diffstat (limited to 'Opcode/Ice/IceIndexedTriangle.h')
-rw-r--r--Opcode/Ice/IceIndexedTriangle.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Opcode/Ice/IceIndexedTriangle.h b/Opcode/Ice/IceIndexedTriangle.h
index 5dc39ea..842eea2 100644
--- a/Opcode/Ice/IceIndexedTriangle.h
+++ b/Opcode/Ice/IceIndexedTriangle.h
@@ -12,9 +12,6 @@
#ifndef __ICEINDEXEDTRIANGLE_H__
#define __ICEINDEXEDTRIANGLE_H__
- // Forward declarations
- enum CubeIndex;
-
// An indexed triangle class.
class ICEMATHS_API IndexedTriangle
{
@@ -60,9 +57,8 @@
float MaxEdgeLength(const IcePoint* verts) const;
void ComputePoint(const IcePoint* verts, float u, float v, IcePoint& pt, udword* nearvtx=null) const;
float Angle(const IndexedTriangle& tri, const IcePoint* verts) const;
- inline_ Plane PlaneEquation(const IcePoint* verts) const { return Plane(verts[mVRef[0]], verts[mVRef[1]], verts[mVRef[2]]); }
+ inline_ IcePlane PlaneEquation(const IcePoint* verts) const { return IcePlane(verts[mVRef[0]], verts[mVRef[1]], verts[mVRef[2]]); }
bool Equal(const IndexedTriangle& tri) const;
- CubeIndex ComputeCubeIndex(const IcePoint* verts) const;
};
#endif // __ICEINDEXEDTRIANGLE_H__