diff options
author | David Walter Seikel | 2013-04-07 02:38:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-04-07 02:38:10 +1000 |
commit | 7d2499f10a100d16a1043a59ba914b17e3bfbaf3 (patch) | |
tree | c62a1bcd3fdf89099e2edf01430f500a0ec0b25f /linden/indra/llmath/llvolume.cpp | |
parent | Clean up some compiler warnings. More to come. (diff) | |
download | meta-impy-7d2499f10a100d16a1043a59ba914b17e3bfbaf3.zip meta-impy-7d2499f10a100d16a1043a59ba914b17e3bfbaf3.tar.gz meta-impy-7d2499f10a100d16a1043a59ba914b17e3bfbaf3.tar.bz2 meta-impy-7d2499f10a100d16a1043a59ba914b17e3bfbaf3.tar.xz |
One more variable clean out, so Windows can compile.
Diffstat (limited to 'linden/indra/llmath/llvolume.cpp')
-rw-r--r-- | linden/indra/llmath/llvolume.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linden/indra/llmath/llvolume.cpp b/linden/indra/llmath/llvolume.cpp index 63869ea..9dc3746 100644 --- a/linden/indra/llmath/llvolume.cpp +++ b/linden/indra/llmath/llvolume.cpp | |||
@@ -4437,9 +4437,7 @@ BOOL LLVolumeFace::createUnCutCubeCap(LLVolume* volume, BOOL partial_build) | |||
4437 | const std::vector<LLVector3>& profile = volume->getProfile().mProfile; | 4437 | const std::vector<LLVector3>& profile = volume->getProfile().mProfile; |
4438 | S32 max_s = volume->getProfile().getTotal(); | 4438 | S32 max_s = volume->getProfile().getTotal(); |
4439 | S32 max_t = volume->getPath().mPath.size(); | 4439 | S32 max_t = volume->getPath().mPath.size(); |
4440 | 4440 | S32 grid_size = (profile.size() - 1) / 4; | |
4441 | S32 grid_size = (profile.size()-1)/4; | ||
4442 | S32 quad_count = (grid_size * grid_size); | ||
4443 | 4441 | ||
4444 | LLVector3& min = mExtents[0]; | 4442 | LLVector3& min = mExtents[0]; |
4445 | LLVector3& max = mExtents[1]; | 4443 | LLVector3& max = mExtents[1]; |