X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=org.simantics.g3d%2Fscl%2FG3D%2FMath%2FVector3d.scl;h=308bb88e2610acace310111cfafca35c1100f516;hb=refs%2Fchanges%2F27%2F3327%2F1;hp=cab235384a4ff460882a056809372d8ce01ea053;hpb=0f296670cc492cef317342832d3e131fd6d76aba;p=simantics%2F3d.git diff --git a/org.simantics.g3d/scl/G3D/Math/Vector3d.scl b/org.simantics.g3d/scl/G3D/Math/Vector3d.scl index cab23538..308bb88e 100644 --- a/org.simantics.g3d/scl/G3D/Math/Vector3d.scl +++ b/org.simantics.g3d/scl/G3D/Math/Vector3d.scl @@ -1,4 +1,4 @@ -import "./Tuple3d" +include "./Tuple3d" import "JavaBuiltin" as Java @@ -67,6 +67,7 @@ freeze :: MVector3d -> Vector3d freeze = Java.unsafeCoerce instance Tuple3dClass Vector3d +instance MTuple3dClass MVector3d copyVector3d :: Tuple3dClass a => a -> Vector3d copyVector3d = copyVector3d' . asTuple