]> gerrit.simantics Code Review - simantics/3d.git/blobdiff - org.simantics.g3d/scl/g3d/scenegraph/G3DNode.scl
Additional SCL Bindings to G3D and Plant3D classes
[simantics/3d.git] / org.simantics.g3d / scl / g3d / scenegraph / G3DNode.scl
diff --git a/org.simantics.g3d/scl/g3d/scenegraph/G3DNode.scl b/org.simantics.g3d/scl/g3d/scenegraph/G3DNode.scl
new file mode 100644 (file)
index 0000000..64b6809
--- /dev/null
@@ -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