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); ```