File: Test.es

package info (click to toggle)
structure-synth 1.0.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 2,072 kB
  • ctags: 1,176
  • sloc: cpp: 7,070; python: 167; makefile: 66; lisp: 25
file content (20 lines) | stat: -rw-r--r-- 373 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#javascript

v = Vector3(1,2,3);
v.x+=5;
v.y+=8;
Debug.Info(v.toString());
Debug.Info(v.length());

World.addSphere(Vector3(1,1,1),2);

Debug.ShowProgress("My progress:");
for ( i = 0; i < 2; i++) {
   Debug.SetProgress(i/100.0);
  Debug.Sleep(10);
}
Debug.HideProgress();

Debug.Info("This will be written to the console.");

Debug.Message("Completed");