From 68d2c6a5850809babbe560233100e9f5f57832d7 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg <guzba8@gmail.com> Date: Mon, 30 Nov 2020 12:25:43 -0600 Subject: [PATCH] fix --- README.md | 4 ++-- src/vmath.nim | 2 +- vmath.nimble | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7ad89d8..68e9d15 100644 --- a/README.md +++ b/README.md @@ -1361,11 +1361,11 @@ proc mat3(q: Quat): Mat3 proc mat4(q: Quat): Mat4 ``` -## **proc** recifuncalSqrt +## **proc** reciprocalSqrt ```nim -proc recifuncalSqrt(x: float32): float32 {.inline.} +proc reciprocalSqrt(x: float32): float32 {.inline.} ``` ## **proc** quat diff --git a/src/vmath.nim b/src/vmath.nim index a4c1e9c..75cbc72 100644 --- a/src/vmath.nim +++ b/src/vmath.nim @@ -1308,7 +1308,7 @@ proc mat4*(q: Quat): Mat4 = result[14] = 0 result[15] = 1.0 -proc recifuncalSqrt*(x: float32): float32 {.inline.} = +proc reciprocalSqrt*(x: float32): float32 {.inline.} = 1.0 / sqrt(x) proc quat*(m: Mat4): Quat = diff --git a/vmath.nimble b/vmath.nimble index 916f528..78cfc6b 100644 --- a/vmath.nimble +++ b/vmath.nimble @@ -5,4 +5,4 @@ license = "MIT" srcDir = "src" -requires "nim >= 0.19.1" +requires "nim >= 1.4.0"