diff --git a/jzy3d-api/.classpath b/jzy3d-api/.classpath index 5e56b683..e20c5750 100644 --- a/jzy3d-api/.classpath +++ b/jzy3d-api/.classpath @@ -6,7 +6,12 @@ - + + + + + + @@ -43,12 +48,6 @@ - - - - - - diff --git a/jzy3d-api/src/api/org/jzy3d/plot3d/rendering/view/View.java b/jzy3d-api/src/api/org/jzy3d/plot3d/rendering/view/View.java index d07de3f9..a429667f 100644 --- a/jzy3d-api/src/api/org/jzy3d/plot3d/rendering/view/View.java +++ b/jzy3d-api/src/api/org/jzy3d/plot3d/rendering/view/View.java @@ -867,7 +867,7 @@ public class View { updateCamera(gl, glu, viewport, scaling); renderAxeBox(gl, glu); renderSceneGraph(gl, glu); - renderAnnotations(gl, glu); + renderAnnotations(gl, glu, cam); } public void updateQuality(GL gl) { @@ -1079,10 +1079,10 @@ public class View { public void renderOverlay(GL gl, ViewportConfiguration viewportConfiguration) { } - public void renderAnnotations(GL gl, GLU glu) { + public void renderAnnotations(GL gl, GLU glu, Camera camera) { Transform transform = new Transform(new Scale(scaling)); annotations.getGraph().setTransform(transform); - annotations.getGraph().draw(gl, glu, null); + annotations.getGraph().draw(gl, glu, camera); } protected void correctCameraPositionForIncludingTextLabels(GL gl, GLU glu, ViewportConfiguration viewport) {