Mediawiki XVR Extensions

From VRwiki
Jump to: navigation, search

Emanuele Ruffaldi wrote a couple of Mediawiki Extensions.

<XVR> tag

This one can be used to embed s3d code within the page.

CameraSetPosition(1,2,3);
dir = CameraGetDirection();
 
var scene = Pippo.GetScene();
var a = [4,5];
scene.SetParam(a.x, a.y);