Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // for http://www.sgscript.org/files/em/sgsdemo.htm
- // threading
- function f(){ println("<<START>>"); yield; println("<<END>>"); }
- a = thread f();
- printvar(a);
- sa = serialize(a);
- printvar(sa);
- a = unserialize(sa);
- process_threads();
- // [xg] math
- include "math";
- mtx = mat4().rotateY(deg2rad(90));
- printvar(mtx);
- printvar(mtx.transform_pos(vec3(1,0,0)));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement