mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
compiler warning
This commit is contained in:
parent
02b5193dd2
commit
6f6eadcd8a
@ -157,10 +157,10 @@ subdivide(int scale, int x, int y) {
|
|||||||
if (scale == 0) {
|
if (scale == 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
int size = 1<<scale;
|
// int size = 1<<scale;
|
||||||
int hsize = size >> 1;
|
// int hsize = size >> 1;
|
||||||
int xcenter = x+hsize;
|
// int xcenter = x+hsize;
|
||||||
int ycenter = y+hsize;
|
// int ycenter = y+hsize;
|
||||||
int deltax = x - _focal_x;
|
int deltax = x - _focal_x;
|
||||||
int deltay = y - _focal_y;
|
int deltay = y - _focal_y;
|
||||||
if (deltax < 0) deltax = -deltax;
|
if (deltax < 0) deltax = -deltax;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user