From ace919a0cdf8c036ed4f9da42d4afe399a4296e8 Mon Sep 17 00:00:00 2001 From: Robert Persson Date: Wed, 2 Oct 2013 10:24:22 +0200 Subject: [PATCH] Fixed small typobug in basic 3d --- lib/pure/basic3d.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/basic3d.nim b/lib/pure/basic3d.nim index fda07918f7..540d53fd99 100644 --- a/lib/pure/basic3d.nim +++ b/lib/pure/basic3d.nim @@ -1001,7 +1001,7 @@ proc scale*(p:var TPoint3d,fac:float) {.inline.}= proc scale*(p:var TPoint3d,fac:float,org:TPoint3d){.inline.}= ## Scales the point in place `fac` times with `org` as origin. p.x=(p.x - org.x) * fac + org.x - p.y=(p.x - org.y) * fac + org.y + p.y=(p.y - org.y) * fac + org.y p.z=(p.z - org.z) * fac + org.z proc stretch*(p:var TPoint3d,facx,facy,facz:float){.inline.}=