]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Rename Vector3d.length to vectorLength 58/3858/1
authorReino Ruusu <reino.ruusu@semantum.fi>
Fri, 7 Feb 2020 11:06:23 +0000 (13:06 +0200)
committerReino Ruusu <reino.ruusu@semantum.fi>
Fri, 7 Feb 2020 11:06:57 +0000 (13:06 +0200)
gitlab #75

Change-Id: I5e189d234f2f810415cd233731c1aa11674e1f67

org.simantics.g3d/scl/G3D/Math/Vector3d.scl

index 308bb88e2610acace310111cfafca35c1100f516..f35857c7c9be1bdaa7cb77b512c502a61bbc7d02 100644 (file)
@@ -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