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/Vector2f.java | |
parent | a51c424d5f6abc1a2450dc37e44bd7604f95d709 (diff) |
vecmath: remove trailing whitespace from all files
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/vecmath/Vector2f.java')
-rw-r--r-- | src/javax/vecmath/Vector2f.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/javax/vecmath/Vector2f.java b/src/javax/vecmath/Vector2f.java index 28b8db7..d9e5a65 100644 --- a/src/javax/vecmath/Vector2f.java +++ b/src/javax/vecmath/Vector2f.java @@ -34,7 +34,7 @@ package javax.vecmath; import java.lang.Math; /** - * A 2-element vector that is represented by single-precision floating + * A 2-element vector that is represented by single-precision floating * point x,y coordinates. * */ @@ -87,7 +87,7 @@ public class Vector2f extends Tuple2f implements java.io.Serializable { /** * Constructs and initializes a Vector2f from the specified Tuple2f. * @param t1 the Tuple2f containing the initialization x y data - */ + */ public Vector2f(Tuple2f t1) { super(t1); @@ -97,7 +97,7 @@ public class Vector2f extends Tuple2f implements java.io.Serializable { /** * Constructs and initializes a Vector2f from the specified Tuple2d. * @param t1 the Tuple2d containing the initialization x y data - */ + */ public Vector2f(Tuple2d t1) { super(t1); @@ -124,19 +124,19 @@ public class Vector2f extends Tuple2f implements java.io.Serializable { } - /** + /** * Returns the length of this vector. * @return the length of this vector - */ + */ public final float length() { return (float) 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 float lengthSquared() { return (this.x*this.x + this.y*this.y); @@ -145,7 +145,7 @@ public class Vector2f extends Tuple2f 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(Vector2f v1) { float norm; @@ -157,7 +157,7 @@ public class Vector2f extends Tuple2f implements java.io.Serializable { /** * Normalizes this vector in place. - */ + */ public final void normalize() { float norm; |