From e55c158389766e90aa44787519697dc0689e63f7 Mon Sep 17 00:00:00 2001 From: Mees van der Wijk Date: Sat, 9 Aug 2025 18:19:08 +0200 Subject: [PATCH] Added more comments --- ModuleAPIGameLibRatio.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ModuleAPIGameLibRatio.md b/ModuleAPIGameLibRatio.md index 6bd02a6..91e948b 100644 --- a/ModuleAPIGameLibRatio.md +++ b/ModuleAPIGameLibRatio.md @@ -5,9 +5,10 @@ Class used to perform calculation with a ratio. ## Example ```javascript -//Create test ratio +//Create test ratio. var ratio = api.GameLib.Timing.toRatio(0.25); +//Use it to calculate the x position through an easing. var culatedX = ratio.invert().easeInSine().toAbsolute(1920); ```