From b894cd42548bb455bb38ac362a95e72a1e05526d Mon Sep 17 00:00:00 2001 From: a dinosaur Date: Sun, 20 Aug 2023 06:14:04 +1000 Subject: [PATCH] unable to shade polygon normals --- src/main/kotlin/Game.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/Game.kt b/src/main/kotlin/Game.kt index 3e6159c..721a535 100644 --- a/src/main/kotlin/Game.kt +++ b/src/main/kotlin/Game.kt @@ -244,7 +244,7 @@ class Game: ApplicationAdapter() .rotate(0.0f, 1.0f, 0.0f, jolkRot) .scale(0.25f, 0.25f, 0.25f) cubeInstance.transform = world - knux.transform.rotate(rand.nextQuaternion().slerp(Quaternion(), 0.9f)) + knux.transform.rotate(Quaternion().slerp(rand.nextQuaternion(), deltaTime)) modelBatch.begin(colin.camera) modelBatch.render(floorInstance, env)