Merge pull request #613 from ventor3000/basic_geom

Fixed small typobug in basic 3d
This commit is contained in:
Andreas Rumpf
2013-10-05 12:09:14 -07:00

View File

@@ -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.}=