Skip to content

Commit b3486a1

Browse files
committed
screenX/Y calls in Esfera example are redundant
1 parent 4336e11 commit b3486a1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

java/examples/OpenGL/Performance/Esfera/Esfera.pde

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ class pelo
6969
float x = radio * cos(theta) * cos(phi);
7070
float y = radio * cos(theta) * sin(phi);
7171
float z = radio * sin(theta);
72-
float msx= screenX(x,y,z);
73-
float msy= screenY(x,y,z);
7472

7573
float xo = radio * cos(thetaff) * cos(phff);
7674
float yo = radio * cos(thetaff) * sin(phff);
@@ -88,4 +86,4 @@ class pelo
8886
vertex(xb,yb,zb);
8987
endShape();
9088
}
91-
}
89+
}

0 commit comments

Comments
 (0)