X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fscl%2FG3D%2FMath%2FVector3d.scl;h=308bb88e2610acace310111cfafca35c1100f516;hb=c158180424a6366164e24ce17705e3f2124b1fb5;hp=59cfdf97289db415b029d5aeb5834cf8164ffab6;hpb=d3f535e82944e98845638c0e56b23077c1e7c104;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 59cfdf97..308bb88e 100644 --- a/org.simantics.g3d/scl/G3D/Math/Vector3d.scl +++ b/org.simantics.g3d/scl/G3D/Math/Vector3d.scl @@ -67,6 +67,7 @@ freeze :: MVector3d -> Vector3d freeze = Java.unsafeCoerce instance Tuple3dClass Vector3d +instance MTuple3dClass MVector3d copyVector3d :: Tuple3dClass a => a -> Vector3d copyVector3d = copyVector3d' . asTuple