diff options
author | Harvey Harrison <[email protected]> | 2011-12-31 14:50:54 -0800 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2011-12-31 14:50:54 -0800 |
commit | 5800faa58d9dfe0244d40049cca7aa2a8ee4c395 (patch) | |
tree | 1d530dacfc9ffd4e96357ad209aba84e1a93362b /src/javax/vecmath/Vector2d.java | |
parent | a51c424d5f6abc1a2450dc37e44bd7604f95d709 (diff) |
vecmath: remove trailing whitespace from all files
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/vecmath/Vector2d.java')
-rw-r--r-- | src/javax/vecmath/Vector2d.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/javax/vecmath/Vector2d.java b/src/javax/vecmath/Vector2d.java index 02a3f77..d0f52ba 100644 --- a/src/javax/vecmath/Vector2d.java +++ b/src/javax/vecmath/Vector2d.java @@ -34,7 +34,7 @@ package javax.vecmath; import java.lang.Math; /** - * A 2-element vector that is represented by double-precision floating + * A 2-element vector that is represented by double-precision floating * point x,y coordinates. * */ @@ -87,7 +87,7 @@ public class Vector2d extends Tuple2d implements java.io.Serializable { /** * Constructs and initializes a Vector2d from the specified Tuple2d. * @param t1 the Tuple2d containing the initialization x y data - */ + */ public Vector2d(Tuple2d t1) { super(t1); @@ -97,7 +97,7 @@ public class Vector2d extends Tuple2d implements java.io.Serializable { /** * Constructs and initializes a Vector2d from the specified Tuple2f. * @param t1 the Tuple2f containing the initialization x y data - */ + */ public Vector2d(Tuple2f t1) { super(t1); @@ -123,19 +123,19 @@ public class Vector2d extends Tuple2d implements java.io.Serializable { } - /** + /** * Returns the length of this vector. * @return the length of this vector - */ + */ public final double length() { return (double) Math.sqrt(this.x*this.x + this.y*this.y); } - /** + /** * Returns the squared length of this vector. * @return the squared length of this vector - */ + */ public final double lengthSquared() { return (this.x*this.x + this.y*this.y); @@ -144,7 +144,7 @@ public class Vector2d extends Tuple2d implements java.io.Serializable { /** * Sets the value of this vector to the normalization of vector v1. * @param v1 the un-normalized vector - */ + */ public final void normalize(Vector2d v1) { double norm; @@ -156,7 +156,7 @@ public class Vector2d extends Tuple2d implements java.io.Serializable { /** * Normalizes this vector in place. - */ + */ public final void normalize() { double norm; |