From c6196ba2a63874615ed9e8b529fe3681f32f216b Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Fri, 7 Feb 2020 13:06:23 +0200 Subject: [PATCH] Rename Vector3d.length to vectorLength gitlab #75 Change-Id: I5e189d234f2f810415cd233731c1aa11674e1f67 --- org.simantics.g3d/scl/G3D/Math/Vector3d.scl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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 -- 2.45.2