Class PhysicsDebugRenderer

java.lang.Object
zombie.core.textures.TextureDraw.GenericDrawer
zombie.core.physics.PhysicsDebugRenderer

public final class PhysicsDebugRenderer extends TextureDraw.GenericDrawer
  • Constructor Details

    • PhysicsDebugRenderer

      public PhysicsDebugRenderer()
  • Method Details

    • alloc

      public static PhysicsDebugRenderer alloc()
    • release

      public void release()
    • init

      public void init(IsoPlayer player)
    • addRagdollRender

      public static void addRagdollRender(RagdollController ragdollController)
    • addBallisticsRender

      public static void addBallisticsRender(BallisticsController ballisticsController)
    • addBallisticsRender

      public static void addBallisticsRender(BallisticsTarget ballisticsTarget)
    • removeRagdollRender

      public static void removeRagdollRender(RagdollController ragdollController)
    • removeBallisticsRender

      public static void removeBallisticsRender(BallisticsTarget ballisticsTarget)
    • addVehicleRender

      public static void addVehicleRender(BaseVehicle baseVehicle)
    • removeVehicleRender

      public static void removeVehicleRender(BaseVehicle baseVehicle)
    • render

      public void render()
      Specified by:
      render in class TextureDraw.GenericDrawer
    • postRender

      public void postRender()
      Overrides:
      postRender in class TextureDraw.GenericDrawer
    • YToScreenExact

      public float YToScreenExact(float objectX, float objectY, float objectZ, int screenZ)
    • XToScreenExact

      public float XToScreenExact(float objectX, float objectY, float objectZ, int screenZ)
    • drawLine

      public void drawLine(float fromX, float fromY, float fromZ, float toX, float toY, float toZ, float fromR, float fromG, float fromB, float toR, float toG, float toB)
    • drawSphere

      public void drawSphere(float pX, float pY, float pZ, float radius, float r, float g, float b)
    • drawTriangle

      public void drawTriangle(float aX, float aY, float aZ, float bX, float bY, float bZ, float cX, float cY, float cZ, float r, float g, float b, float alpha)
    • drawContactPoint

      public void drawContactPoint(float pointOnBX, float pointOnBY, float pointOnBZ, float normalOnBX, float normalOnBY, float normalOnBZ, float distance, int lifeTime, float r, float g, float b)
    • drawCapsule

      public void drawCapsule(float radius, float halfHeight, int upAxis, float pX, float pY, float pZ, float rX, float rY, float rZ, float qZ, float r, float g, float b, float a)
    • n_debugDrawWorld

      public void n_debugDrawWorld(int arg0, int arg1, int arg2, int arg3)
    • renderRagdoll

      public void renderRagdoll(int arg0, int arg1, int arg2)
    • renderBallistics

      public void renderBallistics(int arg0, int arg1, int arg2)
    • renderBallisticsTarget

      public void renderBallisticsTarget(int arg0, int arg1, int arg2)
    • renderVehicle

      public void renderVehicle(int arg0, int arg1, int arg2)