From 5e6773397cc101c7c3d08482efc456daa91734e9 Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 1 Oct 2021 22:52:04 +0200 Subject: Switched to use only one version of Opcode --- Opcode/Ice/IceTriangle.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Opcode/Ice/IceTriangle.cpp') diff --git a/Opcode/Ice/IceTriangle.cpp b/Opcode/Ice/IceTriangle.cpp index 69a858f..8a0a4b6 100644 --- a/Opcode/Ice/IceTriangle.cpp +++ b/Opcode/Ice/IceTriangle.cpp @@ -24,7 +24,7 @@ using namespace IceMaths; */ /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -static sdword VPlaneSideEps(const IcePoint& v, const Plane& plane, float epsilon) +static sdword VPlaneSideEps(const IcePoint& v, const IcePlane& plane, float epsilon) { // Compute distance from current vertex to the plane float Dist = plane.Distance(v); @@ -132,7 +132,7 @@ void Triangle::Center(IcePoint& center) const center = (p0 + p1 + p2)*INV3; } -PartVal Triangle::TestAgainstPlane(const Plane& plane, float epsilon) const +PartVal Triangle::TestAgainstPlane(const IcePlane& plane, float epsilon) const { bool Pos = false, Neg = false; -- cgit v1.1