Class Gaia

All Implemented Interfaces:
com.badlogic.gdx.utils.Disposable, I3DTextRenderable, IModelRenderable, IQuadRenderable, IRenderable, IFocus, IStarContainer, IVisibilitySwitch, IPosition

public class Gaia extends Satellite
Gaia is a special entity, mainly because it has its own camera modes (FoV1/2/1&2, Gaia camera)
  • Field Details

    • unrotatedPos

      public Vector3d unrotatedPos
  • Constructor Details

    • Gaia

      public Gaia()
  • Method Details

    • initialize

      public void initialize()
      Overrides:
      initialize in class Satellite
    • doneLoading

      public void doneLoading(com.badlogic.gdx.assets.AssetManager manager)
      Overrides:
      doneLoading in class Satellite
    • forceUpdatePosition

      protected void forceUpdatePosition(ITimeFrameProvider time, boolean force)
      Description copied from class: Satellite
      Default implementation, only sets the result of the coordinates call to pos
      Overrides:
      forceUpdatePosition in class Satellite
      Parameters:
      time - Time to get the coordinates
      force - Whether to force the update
    • getUnrotatedPos

      public Vector3d getUnrotatedPos()
      Overrides:
      getUnrotatedPos in class SceneGraphNode
    • setToLocalTransform

      public void setToLocalTransform(float sizeFactor, com.badlogic.gdx.math.Matrix4 localTransform, boolean forceUpdate)
      Description copied from class: Satellite
      Sets the local transform of this satellite
      Overrides:
      setToLocalTransform in class Satellite
    • getOrientationQuaternion

      public Quaterniond getOrientationQuaternion()
      Description copied from interface: IFocus
      Returns the orientation quaternion of this focus
      Specified by:
      getOrientationQuaternion in interface IFocus
      Overrides:
      getOrientationQuaternion in class CelestialBody
      Returns:
      The orientation quaternion. Can be null