Changeset 847 for trunk/compilers/MazeCompiler/LevelBuilder.cpp
- Timestamp:
- 02/04/10 15:16:40 (6 months ago)
- Files:
-
- 1 modified
-
trunk/compilers/MazeCompiler/LevelBuilder.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/compilers/MazeCompiler/LevelBuilder.cpp
r480 r847 752 752 753 753 // Compute bonding box diag size 754 lReturnValue = sqrt(pow(pSection->mMax.mX - pSection->mMin.mX, 2 ) + pow(pSection->mMax.mY - pSection->mMin.mY, 2)) / 1000.0;754 lReturnValue = sqrt(pow(pSection->mMax.mX - pSection->mMin.mX, 2.0f) + pow(pSection->mMax.mY - pSection->mMin.mY, 2.0f)) / 1000.0; 755 755 756 756 return lReturnValue;
