diff --git a/src/test/java/testjoltjni/app/performancetest/PerformanceTestScene.java b/src/test/java/testjoltjni/app/performancetest/PerformanceTestScene.java index 1a6a97a0..803c0913 100644 --- a/src/test/java/testjoltjni/app/performancetest/PerformanceTestScene.java +++ b/src/test/java/testjoltjni/app/performancetest/PerformanceTestScene.java @@ -21,6 +21,7 @@ of this software and associated documentation files (the "Software"), to deal */ package testjoltjni.app.performancetest; import com.github.stephengold.joltjni.PhysicsSystem; +import com.github.stephengold.joltjni.TempAllocator; import com.github.stephengold.joltjni.enumerate.EMotionQuality; /** * A line-for-line Java translation of the Jolt Physics performance test-scene interface. @@ -39,6 +40,12 @@ interface PerformanceTestScene // Start a new test by adding objects to inPhysicsSystem void StartTest(PhysicsSystem inPhysicsSystem, EMotionQuality inMotionQuality) ; + // Step the test + default void UpdateTest( PhysicsSystem inPhysicsSystem, TempAllocator ioTempAllocator, float inDeltaTime) { } + + // Update the hash with the state of the scene + default long UpdateHash(long ioHash) {return ioHash;} + // Stop a test and remove objects from inPhysicsSystem default void StopTest(PhysicsSystem inPhysicsSystem) { } };