| ||||
SummaryDump the contents of a file from the script directory. | ||||
Examplejs: cat('test.js')
function showParams(obj) {
for (x in obj)
print(x + ": " + obj[x]);
}
function deg2rad(t) {
return t * Math.PI / 180.0;
}
function spinObj(obj) {
var v1 = new AztecVector3(0, 0, 0);
for (x=0.0;x<=2.0*Math.PI;x+=0.2) {
v1.x = 20.0 * Math.cos(x);
v1.y = 20.0 * Math.sin(x);
obj.Translate = v1;
}
}
...
js:
| ||||
See Also
|