From 5800faa58d9dfe0244d40049cca7aa2a8ee4c395 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sat, 31 Dec 2011 14:50:54 -0800 Subject: vecmath: remove trailing whitespace from all files Signed-off-by: Harvey Harrison --- src/javax/vecmath/Vector2d.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/javax/vecmath/Vector2d.java') 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; -- cgit v1.2.3