diff options
author | Wade Walker <[email protected]> | 2015-07-05 17:11:38 -0500 |
---|---|---|
committer | Wade Walker <[email protected]> | 2015-07-06 17:04:12 -0500 |
commit | e935256bf1ad44ceb2d9e3e63810f8d5017733be (patch) | |
tree | 70d8ab829d425a78ef8eebde640bd50fa6a3bb05 /src/com/jogamp/opencl/demos/julia3d/UserSceneController.java | |
parent | 858dbcb36211e743559070acc49043c21cde6636 (diff) |
Fixed a variety of compilation and runtime errors
Fixed package change from javax.media to com.jogamp; fixed problems with
generics; fixed dead-code and similar warnings; fixed problem with struct
accessor on Julia3d using element offsets where it should have used byte
offsets; updated Eclipse project files
Diffstat (limited to 'src/com/jogamp/opencl/demos/julia3d/UserSceneController.java')
-rw-r--r-- | src/com/jogamp/opencl/demos/julia3d/UserSceneController.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/com/jogamp/opencl/demos/julia3d/UserSceneController.java b/src/com/jogamp/opencl/demos/julia3d/UserSceneController.java index 17b8956..ebceb15 100644 --- a/src/com/jogamp/opencl/demos/julia3d/UserSceneController.java +++ b/src/com/jogamp/opencl/demos/julia3d/UserSceneController.java @@ -175,7 +175,8 @@ public class UserSceneController { .setZ(orig.getZ()+zoom); } - private void rotateLightX(float k) { + @SuppressWarnings("unused") + private void rotateLightX(float k) { float[] light = model.getLight(); float y = light[1]; float z = light[2]; @@ -184,7 +185,8 @@ public class UserSceneController { model.setLight(light); } - private void rotateLightY(float k) { + @SuppressWarnings("unused") + private void rotateLightY(float k) { float[] light = model.getLight(); float x = light[0]; float z = light[2]; |