summaryrefslogtreecommitdiffstats
path: root/src/net/java/joglutils/msg/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/java/joglutils/msg/actions')
-rw-r--r--src/net/java/joglutils/msg/actions/Action.java8
-rw-r--r--src/net/java/joglutils/msg/actions/GLRenderAction.java11
-rw-r--r--src/net/java/joglutils/msg/actions/GLResetAction.java9
-rw-r--r--src/net/java/joglutils/msg/actions/RayPickAction.java18
4 files changed, 29 insertions, 17 deletions
diff --git a/src/net/java/joglutils/msg/actions/Action.java b/src/net/java/joglutils/msg/actions/Action.java
index b206cdb..1d3abf8 100644
--- a/src/net/java/joglutils/msg/actions/Action.java
+++ b/src/net/java/joglutils/msg/actions/Action.java
@@ -37,10 +37,12 @@
package net.java.joglutils.msg.actions;
-import java.lang.reflect.*;
+import java.lang.reflect.Method;
-import net.java.joglutils.msg.misc.*;
-import net.java.joglutils.msg.nodes.*;
+import net.java.joglutils.msg.misc.ActionTable;
+import net.java.joglutils.msg.misc.Path;
+import net.java.joglutils.msg.misc.State;
+import net.java.joglutils.msg.nodes.Node;
/** The base class of all actions, which are applied to nodes in the
scene graph to implement operations such as rendering. <P>
diff --git a/src/net/java/joglutils/msg/actions/GLRenderAction.java b/src/net/java/joglutils/msg/actions/GLRenderAction.java
index b65c515..3fcad13 100644
--- a/src/net/java/joglutils/msg/actions/GLRenderAction.java
+++ b/src/net/java/joglutils/msg/actions/GLRenderAction.java
@@ -37,13 +37,14 @@
package net.java.joglutils.msg.actions;
-import java.lang.reflect.*;
+import java.lang.reflect.Method;
-import javax.media.opengl.*;
-import javax.media.opengl.glu.*;
+import com.jogamp.opengl.GL2;
+import com.jogamp.opengl.glu.GLU;
-import net.java.joglutils.msg.misc.*;
-import net.java.joglutils.msg.nodes.*;
+import net.java.joglutils.msg.misc.ActionTable;
+import net.java.joglutils.msg.misc.State;
+import net.java.joglutils.msg.nodes.Node;
/** An action which performs rendering of a scene graph via OpenGL. <P>
diff --git a/src/net/java/joglutils/msg/actions/GLResetAction.java b/src/net/java/joglutils/msg/actions/GLResetAction.java
index e04d866..fef612e 100644
--- a/src/net/java/joglutils/msg/actions/GLResetAction.java
+++ b/src/net/java/joglutils/msg/actions/GLResetAction.java
@@ -37,10 +37,13 @@
package net.java.joglutils.msg.actions;
-import java.lang.reflect.*;
+import java.lang.reflect.Method;
-import net.java.joglutils.msg.misc.*;
-import net.java.joglutils.msg.nodes.*;
+import net.java.joglutils.msg.misc.ActionTable;
+import net.java.joglutils.msg.misc.State;
+import net.java.joglutils.msg.nodes.Node;
+import net.java.joglutils.msg.nodes.ShaderNode;
+import net.java.joglutils.msg.nodes.Texture2;
/** An action which resets the OpenGL state of notes holding on to
server-side OpenGL objects. This is needed to clear out for
diff --git a/src/net/java/joglutils/msg/actions/RayPickAction.java b/src/net/java/joglutils/msg/actions/RayPickAction.java
index ee2528a..0b32f47 100644
--- a/src/net/java/joglutils/msg/actions/RayPickAction.java
+++ b/src/net/java/joglutils/msg/actions/RayPickAction.java
@@ -38,12 +38,18 @@
package net.java.joglutils.msg.actions;
import java.awt.Component;
-import java.lang.reflect.*;
-import java.util.*;
-
-import net.java.joglutils.msg.math.*;
-import net.java.joglutils.msg.misc.*;
-import net.java.joglutils.msg.nodes.*;
+import java.lang.reflect.Method;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import net.java.joglutils.msg.math.Line;
+import net.java.joglutils.msg.math.Vec2f;
+import net.java.joglutils.msg.misc.ActionTable;
+import net.java.joglutils.msg.misc.PickedPoint;
+import net.java.joglutils.msg.misc.State;
+import net.java.joglutils.msg.nodes.Camera;
+import net.java.joglutils.msg.nodes.Node;
public class RayPickAction extends Action {
// Boilerplate