From 0d169fb6c64dd3fa26aa319c38a9d5fed80a0ec2 Mon Sep 17 00:00:00 2001 From: Mohamad Date: Fri, 13 Oct 2023 17:51:17 +1000 Subject: [PATCH] fixed comment --- .../com/csse3200/game/rendering/CameraShaker.java | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/source/core/src/main/com/csse3200/game/rendering/CameraShaker.java b/source/core/src/main/com/csse3200/game/rendering/CameraShaker.java index 98156753f..11359805d 100644 --- a/source/core/src/main/com/csse3200/game/rendering/CameraShaker.java +++ b/source/core/src/main/com/csse3200/game/rendering/CameraShaker.java @@ -15,17 +15,6 @@ Loosely based on 'Mastering LibGDX Game Development' - Chapter 9 - Camera Shake Book: https://www.amazon.com/Mastering-LibGDX-Game-Development-Patrick/dp/1785289365 - Changes/Enhancements: - - All variables now use Vector3 (for eventual 3-axis camera shaking) - - Minimum shake radius is now configurable - - Radius fall off factor (was hard coded to 0.9f) is now configurable - - added validation checks to parameters - - You need to pass the camera in constructor, instead of position.x/y - - added update() method for updating camera position - - only compute new shake camera position every 1/60th of a second - at most to accommodate fast refresh rates (to save GPU cycles) - - added resetAndReconfigure(...) method to allow parameter changes - - renamed variables so to not look like python */ public class CameraShaker {