Package com.github.stephengold.joltjni
Class Mt19937
java.lang.Object
com.github.stephengold.joltjni.JoltPhysicsObject
com.github.stephengold.joltjni.Mt19937
- All Implemented Interfaces:
ConstJoltPhysicsObject,AutoCloseable,Comparable<ConstJoltPhysicsObject>
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 Summary
Constructors -
Method Summary
Methods inherited from class com.github.stephengold.joltjni.JoltPhysicsObject
close, compareTo, equals, hasAssignedNativeObject, hashCode, ownsNativeObject, setVirtualAddress, startCleaner, toString, va
-
Constructor Details
-
Mt19937
public Mt19937()Instantiate a generator.
-