org.vrspace.server.command
Class jump
java.lang.Object
org.vrspace.server.command.jump
- All Implemented Interfaces:
- Command
- public class jump
- extends java.lang.Object
- implements Command
Jump to the specified VRObject which implements HasTransform.
env name - user jumps to the VRObject with that name.
env classname id - users to the VRObject classname id.
Constructor Summary |
jump()
|
Method Summary |
double[] |
add(double[] a,
double[] b)
|
void |
doJump(Request req,
HasTransform obj)
|
void |
exec(Request req)
eventValue:
name -> jump to VRObject with that name
classname id -> jump to VRObject classname id |
double[] |
rotate(double[] rot,
double[] vec)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jump
public jump()
exec
public void exec(Request req)
throws java.lang.Exception
- eventValue:
name -> jump to VRObject with that name
classname id -> jump to VRObject classname id
- Specified by:
exec
in interface Command
- Throws:
java.lang.Exception
doJump
public void doJump(Request req,
HasTransform obj)
rotate
public double[] rotate(double[] rot,
double[] vec)
add
public double[] add(double[] a,
double[] b)