Class Mt19937

All Implemented Interfaces:
ConstJoltPhysicsObject, AutoCloseable, Comparable<ConstJoltPhysicsObject>

public class Mt19937 extends JoltPhysicsObject
Generate a pseudo-random sequence of integers using a 32-bit Mersenne Twister. (native type: std::mt19937)

The algorithm isn't specific to Jolt Physics; it's included in jolt-jni for expediency, since RagdollScene.h uses it.

  • Constructor Details

    • Mt19937

      public Mt19937()
      Instantiate a generator.