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_HybridModel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Opcode/OPC_HybridModel.cpp') diff --git a/Opcode/OPC_HybridModel.cpp b/Opcode/OPC_HybridModel.cpp index f922f6d..0793e5e 100644 --- a/Opcode/OPC_HybridModel.cpp +++ b/Opcode/OPC_HybridModel.cpp @@ -309,7 +309,7 @@ udword HybridModel::GetUsedBytes() const return UsedBytes; } -inline_ void ComputeMinMax(Point& min, Point& max, const VertexPointers& vp) +inline_ void ComputeMinMax(IcePoint& min, IcePoint& max, const VertexPointers& vp) { // Compute triangle's AABB = a leaf box #ifdef OPC_USE_FCOMI // a 15% speedup on my machine, not much @@ -352,8 +352,8 @@ bool HybridModel::Refit() // Bottom-up update VertexPointers VP; - Point Min,Max; - Point Min_,Max_; + IcePoint Min,Max; + IcePoint Min_,Max_; udword Index = mTree->GetNbNodes(); AABBNoLeafNode* Nodes = (AABBNoLeafNode*)((AABBNoLeafTree*)mTree)->GetNodes(); while(Index--) @@ -367,7 +367,7 @@ bool HybridModel::Refit() Min.SetPlusInfinity(); Max.SetMinusInfinity(); - Point TmpMin, TmpMax; + IcePoint TmpMin, TmpMax; // Each leaf box has a set of triangles udword NbTris = CurrentLeaf.GetNbTriangles(); @@ -412,7 +412,7 @@ bool HybridModel::Refit() Min_.SetPlusInfinity(); Max_.SetMinusInfinity(); - Point TmpMin, TmpMax; + IcePoint TmpMin, TmpMax; // Each leaf box has a set of triangles udword NbTris = CurrentLeaf.GetNbTriangles(); -- cgit v1.1