Package gaia.cu9.ari.gaiaorbit.util
Class MasterManager
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.util.MasterManager
-
-
Field Summary
Fields Modifier and Type Field Description static MasterManager
instance
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
boardcastCamera(Vector3d pos, Vector3d dir, Vector3d up)
Broadcasts the given camera state to all the slavesvoid
boardcastCameraAndTime(Vector3d pos, Vector3d dir, Vector3d up, ITimeFrameProvider time)
Broadcasts the given camera state and time to all the slavesstatic void
initialize()
void
notify(Events event, java.lang.Object... data)
-
-
-
Field Detail
-
instance
public static MasterManager instance
-
-
Method Detail
-
initialize
public static void initialize()
-
boardcastCameraAndTime
public void boardcastCameraAndTime(Vector3d pos, Vector3d dir, Vector3d up, ITimeFrameProvider time)
Broadcasts the given camera state and time to all the slaves- Parameters:
pos
- Camera positiondir
- Camera directionup
- Camera uptime
- Current time
-
boardcastCamera
public void boardcastCamera(Vector3d pos, Vector3d dir, Vector3d up)
Broadcasts the given camera state to all the slaves- Parameters:
pos
- Camera positiondir
- Camera directionup
- Camera up
-
-