fix: Viewport.getDepth() for y == 0
This commit is contained in:
parent
c3ac8a412c
commit
424126216c
@ -145,9 +145,6 @@ public class Viewport {
|
||||
* and the map plane
|
||||
*/
|
||||
protected float getDepth(float y) {
|
||||
if (y == 0)
|
||||
return 0;
|
||||
|
||||
// origin is moved by VIEW_DISTANCE
|
||||
double cx = VIEW_DISTANCE;
|
||||
// 'height' of the ray
|
||||
|
Loading…
x
Reference in New Issue
Block a user