diff options
author | megamage <none@none> | 2009-02-04 10:33:18 -0600 |
---|---|---|
committer | megamage <none@none> | 2009-02-04 10:33:18 -0600 |
commit | 4d008f2043084b72fb9d4a9929ff2793c7bbd8ee (patch) | |
tree | 13e4adc5b3dae7f3c1805c95e940d785535375af /src/shared/vmap/BaseModel.cpp | |
parent | edbfb386ce87f918da8e11e843d7b5a227e5328d (diff) |
Replace tabs with spaces, and fix crlf issues
--HG--
branch : trunk
Diffstat (limited to 'src/shared/vmap/BaseModel.cpp')
-rw-r--r-- | src/shared/vmap/BaseModel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/vmap/BaseModel.cpp b/src/shared/vmap/BaseModel.cpp index 4a0d66ad6bb..1b7ad34d413 100644 --- a/src/shared/vmap/BaseModel.cpp +++ b/src/shared/vmap/BaseModel.cpp @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2005-2008 MaNGOS <http://www.mangosproject.org/> * * Copyright (C) 2008 Trinity <http://www.trinitycore.org/> @@ -84,11 +84,11 @@ namespace VMAP // See if the ray will ever hit this node or its children Vector3 location; bool alreadyInsideBounds = false; - bool rayWillHitBounds = + bool rayWillHitBounds = MyCollisionDetection::collisionLocationForMovingPointFixedAABox( pRay.origin, pRay.direction, pBox, location, alreadyInsideBounds); - bool canHitThisNode = (alreadyInsideBounds || + bool canHitThisNode = (alreadyInsideBounds || (rayWillHitBounds && ((location - pRay.origin).squaredLength() < (pMaxDist * pMaxDist)))); return canHitThisNode; |