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/Point2f.java | |
parent | a51c424d5f6abc1a2450dc37e44bd7604f95d709 (diff) |
vecmath: remove trailing whitespace from all files
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/javax/vecmath/Point2f.java')
-rw-r--r-- | src/javax/vecmath/Point2f.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/javax/vecmath/Point2f.java b/src/javax/vecmath/Point2f.java index a22e305..11272a5 100644 --- a/src/javax/vecmath/Point2f.java +++ b/src/javax/vecmath/Point2f.java @@ -34,7 +34,7 @@ package javax.vecmath; import java.lang.Math; /** - * A 2 element point that is represented by single precision floating + * A 2 element point that is represented by single precision floating * point x,y coordinates. * */ @@ -87,8 +87,8 @@ public class Point2f extends Tuple2f implements java.io.Serializable { /** * Constructs and initializes a Point2f from the specified Tuple2d. * @param t1 the Tuple2d containing the initialization x y z data - */ - public Point2f(Tuple2d t1) + */ + public Point2f(Tuple2d t1) { super(t1); } @@ -98,8 +98,8 @@ public class Point2f extends Tuple2f implements java.io.Serializable { /** * Constructs and initializes a Point2f from the specified Tuple2f. * @param t1 the Tuple2f containing the initialization x y data - */ - public Point2f(Tuple2f t1) + */ + public Point2f(Tuple2f t1) { super(t1); } @@ -121,20 +121,20 @@ public class Point2f extends Tuple2f implements java.io.Serializable { { float dx, dy; - dx = this.x-p1.x; + dx = this.x-p1.x; dy = this.y-p1.y; return dx*dx+dy*dy; } /** * Computes the distance between this point and point p1. - * @param p1 the other point - */ + * @param p1 the other point + */ public final float distance(Point2f p1) { float dx, dy; - dx = this.x-p1.x; + dx = this.x-p1.x; dy = this.y-p1.y; return (float) Math.sqrt(dx*dx+dy*dy); } @@ -152,8 +152,8 @@ public class Point2f extends Tuple2f implements java.io.Serializable { /** * Computes the L-infinite distance between this point and - * point p1. The L-infinite distance is equal to - * MAX[abs(x1-x2), abs(y1-y2)]. + * point p1. The L-infinite distance is equal to + * MAX[abs(x1-x2), abs(y1-y2)]. * @param p1 the other point */ public final float distanceLinf(Point2f p1) |