diff options
Diffstat (limited to 'Opcode/OPC_HybridModel.cpp')
-rw-r--r-- | Opcode/OPC_HybridModel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
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();
|