X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fscl%2Fg3d%2Fscenegraph%2FG3DNode.scl;fp=org.simantics.g3d%2Fscl%2Fg3d%2Fscenegraph%2FG3DNode.scl;h=64b680907528e1bb91d29c2a55430d1b16c2c263;hb=8da9a6a979f4513be2e0ab5533acc5e4763cf00e;hp=0000000000000000000000000000000000000000;hpb=0602e0f78f22aaf27211ef1de801ddc631e103c0;p=simantics%2F3d.git diff --git a/org.simantics.g3d/scl/g3d/scenegraph/G3DNode.scl b/org.simantics.g3d/scl/g3d/scenegraph/G3DNode.scl new file mode 100644 index 00000000..64b68090 --- /dev/null +++ b/org.simantics.g3d/scl/g3d/scenegraph/G3DNode.scl @@ -0,0 +1,17 @@ +import "g3d/math/Vector3d" +import "g3d/math/Quat4d" + +importJava "org.simantics.g3d.scenegraph.G3DNode" where + data G3DNode + + getOrientation :: G3DNode -> Quat4d + getPosition :: G3DNode -> Vector3d + + setOrientation :: G3DNode -> Quat4d -> () + setPosition :: G3DNode -> Vector3d -> () + + getWorldOrientation :: G3DNode -> Quat4d + getWorldPosition :: G3DNode -> Vector3d + + setWorldOrientation :: G3DNode -> Quat4d -> () + setWorldPosition :: G3DNode -> Vector3d -> () \ No newline at end of file