Skip to content

Commit b57c6d5

Browse files
committed
Ok that's just wrong
1 parent 50c0a39 commit b57c6d5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/progressed/graphics/draw3d/Perspective.java

-2
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ public static Vec3 scaleToViewport(float x, float y, float z){
118118

119119
float cx = camera.position.x, cy = camera.position.y;
120120

121-
if(z < viewportZ()) return scalingPos.set(x - cx, y - cy, z);
122-
123121
x -= cx;
124122
y -= cy;
125123
float zz = cameraZ - z;

0 commit comments

Comments
 (0)