sunrize
Version:
A Multi-Platform X3D Editor
19 lines (13 loc) • 439 B
JavaScript
;
const X3DViewpointNodeTool = require ("./X3DViewpointNodeTool");
class OrthoViewpointTool extends X3DViewpointNodeTool
{
toolType = 1;
async initializeTool ()
{
await super .initializeTool ();
this .tool .getField ("position") .addReference (this .node ._position);
this .tool .getField ("orientation") .addReference (this .node ._orientation);
}
}
module .exports = OrthoViewpointTool;