diff options
author | David Walter Seikel | 2013-04-06 21:47:13 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-04-06 21:47:13 +1000 |
commit | ba982c0575515a8524d5044f928cd336303f807c (patch) | |
tree | 7044c629d59d89e5b8e896914097ccc5de619975 /linden/indra/llmath | |
parent | And actually add the new files for MOAP radar (diff) | |
download | meta-impy-ba982c0575515a8524d5044f928cd336303f807c.zip meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.gz meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.bz2 meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.xz |
Clean up some compiler warnings. More to come.
Diffstat (limited to 'linden/indra/llmath')
-rw-r--r-- | linden/indra/llmath/llvolume.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/linden/indra/llmath/llvolume.cpp b/linden/indra/llmath/llvolume.cpp index 618048c..63869ea 100644 --- a/linden/indra/llmath/llvolume.cpp +++ b/linden/indra/llmath/llvolume.cpp | |||
@@ -4438,14 +4438,9 @@ BOOL LLVolumeFace::createUnCutCubeCap(LLVolume* volume, BOOL partial_build) | |||
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 | ||
4441 | // S32 i; | ||
4442 | S32 num_vertices = 0, num_indices = 0; | ||
4443 | S32 grid_size = (profile.size()-1)/4; | 4441 | S32 grid_size = (profile.size()-1)/4; |
4444 | S32 quad_count = (grid_size * grid_size); | 4442 | S32 quad_count = (grid_size * grid_size); |
4445 | 4443 | ||
4446 | num_vertices = (grid_size+1)*(grid_size+1); | ||
4447 | num_indices = quad_count * 4; | ||
4448 | |||
4449 | LLVector3& min = mExtents[0]; | 4444 | LLVector3& min = mExtents[0]; |
4450 | LLVector3& max = mExtents[1]; | 4445 | LLVector3& max = mExtents[1]; |
4451 | 4446 | ||