From 78e29455c5cb4acce769498a5a32be6a3c6085b4 Mon Sep 17 00:00:00 2001 From: "FWoltermann@gmail.com" Date: Thu, 8 Dec 2011 16:00:07 +0000 Subject: Fixing up faulty references to class "Point" to "IcePoint" --- Opcode/OPC_TreeBuilders.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Opcode/OPC_TreeBuilders.cpp') diff --git a/Opcode/OPC_TreeBuilders.cpp b/Opcode/OPC_TreeBuilders.cpp index 73e89c7..cd20c80 100644 --- a/Opcode/OPC_TreeBuilders.cpp +++ b/Opcode/OPC_TreeBuilders.cpp @@ -91,7 +91,7 @@ bool AABBTreeOfAABBsBuilder::ComputeGlobalBox(const udword* primitives, udword n float AABBTreeOfAABBsBuilder::GetSplittingValue(udword index, udword axis) const { // For an AABB, the splitting value is the middle of the given axis, - // i.e. the corresponding component of the center point + // i.e. the corresponding component of the center IcePoint return mAABBArray[index].GetCenter(axis); } @@ -110,8 +110,8 @@ bool AABBTreeOfTrianglesBuilder::ComputeGlobalBox(const udword* primitives, udwo if(!primitives || !nb_prims) return false; // Initialize global box - Point Min(MAX_FLOAT, MAX_FLOAT, MAX_FLOAT); - Point Max(MIN_FLOAT, MIN_FLOAT, MIN_FLOAT); + IcePoint Min(MAX_FLOAT, MAX_FLOAT, MAX_FLOAT); + IcePoint Max(MIN_FLOAT, MIN_FLOAT, MIN_FLOAT); // Loop through triangles VertexPointers VP; @@ -138,7 +138,7 @@ bool AABBTreeOfTrianglesBuilder::ComputeGlobalBox(const udword* primitives, udwo float AABBTreeOfTrianglesBuilder::GetSplittingValue(udword index, udword axis) const { /* // Compute center of triangle - Point Center; + IcePoint Center; mTriList[index].Center(mVerts, Center); // Return value return Center[axis];*/ -- cgit v1.1