Mercurial > projects > openmelee
view testScript.md @ 17:82efafc87d54
fixed camera zoom
author | zzzzrrr <mason.green@gmail.com> |
---|---|
date | Tue, 24 Mar 2009 16:47:42 -0400 |
parents | cc494b8f8710 |
children |
line wrap: on
line source
module testscript local blah = vec3(1, 2, 30000) writeln("created a vec3: ", blah) writeln("Hello world") poop.x = 123 writeln("poop.dmax2(1, 20, 150) == ", poop.dmax2(1, 20, 150)) writeln("poop.dmax(1, 20) == ", poop.dmax(1, 20)) writeln("getting a vec3...") local v3 = poop.getVec3(3, 6, 9) writeln("x = ", v3.x, " y = ", v3.y, " z = ", v3.z) class Zomg : Poop { /+this() { super(1, 2, 3) }+/ function dmax(a : int, b : int) { return 1337 } } poop = Zomg()