Cache-Control: no-cache Moo Canada: Edit Vector Utilities (#3456)

View/Edit #3456:normalise

Switch to edit mode.

Name(s): normalise
1: ":normalise({ax,ay,az,...}) => A vector of length 1 pointing in the same direction as a"
2: return this:scalar_mult(args[1], 1.0 / this:length(args[1]))
3: "Last modified by manta (#7165) on Fri Feb 27 01:17:53 1998 EST."

Verb arguments: this none this
Verb perms: Readable eXecutable NOT-Debug
Verb owned by: Hacker (#60)

You are not logged in.

[home | help | who | search | setup | code]