X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=org.simantics.g3d%2Fscl%2FG3D%2FMath%2FVector3d.scl;fp=org.simantics.g3d%2Fscl%2FG3D%2FMath%2FVector3d.scl;h=f35857c7c9be1bdaa7cb77b512c502a61bbc7d02;hb=c6196ba2a63874615ed9e8b529fe3681f32f216b;hp=308bb88e2610acace310111cfafca35c1100f516;hpb=24771e19204e33f6701321f63f57a751e022197a;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 308bb88e..f35857c7 100644 --- a/org.simantics.g3d/scl/G3D/Math/Vector3d.scl +++ b/org.simantics.g3d/scl/G3D/Math/Vector3d.scl @@ -8,8 +8,10 @@ importJava "javax.vecmath.Vector3d" where dot :: Vector3d -> Vector3d -> Double - length :: Vector3d -> Double - lengthSquared :: Vector3d -> Double + @JavaName length + vectorLength :: Vector3d -> Double + @JavaName lengthSquared + vectorLengthSquared :: Vector3d -> Double angle :: Vector3d -> Vector3d -> Double