Unnecessary initialization.
This commit is contained in:
1 parent
1ddcda5c5d
commit
7793fab5d2
1 file changed
+4
-4
@@ -417,10 +417,10 @@ public class HeightMap {
|
||||
|
||||
//get height of the 4 vertices.
|
||||
|
||||
float topLeftHeight = 0;
|
||||
float topRightHeight = 0;
|
||||
float bottomLeftHeight = 0;
|
||||
float bottomRightHeight = 0;
|
||||
float topLeftHeight;
|
||||
float topRightHeight;
|
||||
float bottomLeftHeight;
|
||||
float bottomRightHeight;
|
||||
|
||||
int nextY = gridY + 1;
|
||||
int nextX = gridX + 1;
|
||||
|
||||
Reference in new issue
Block a user