Class PistonBenchmark

java.lang.Object

public class PistonBenchmark extends SettingsPerformanceTest
Benchmark - piston example (constantly bumping a bunch of circles and boxes). Should be a decent mix of circle and polygon collisions/contacts, though very little joint work. NOTE: some iterations cause objects to fall through the piston
  • Field Details

    • iters

      public static int iters
    • frames

      public static int frames
    • timeStep

      public static float timeStep
    • velIters

      public static int velIters
    • posIters

      public static int posIters
    • m_joint1

      public RevoluteJoint m_joint1
    • m_joint2

      public PrismaticJoint m_joint2
    • world

      public World world
  • Constructor Details

    • PistonBenchmark

      public PistonBenchmark()
  • Method Details