forked from miho/JCSG
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing the breaking change away from Vector3d
- Loading branch information
1 parent
5822986
commit 83e6adc
Showing
1 changed file
with
3 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,24 +47,8 @@ | |
* | ||
* @author Michael Hoffer <[email protected]> | ||
*/ | ||
public class Vector3d { | ||
/** | ||
* The x coordinate. | ||
*/ | ||
@Expose (serialize = true, deserialize = true) | ||
public double x; | ||
|
||
/** | ||
* The y coordinate. | ||
*/ | ||
@Expose (serialize = true, deserialize = true) | ||
public double y; | ||
|
||
/** | ||
* The z coordinate. | ||
*/ | ||
@Expose (serialize = true, deserialize = true) | ||
public double z; | ||
public class Vector3d extends javax.vecmath.Vector3d{ | ||
|
||
|
||
/** | ||
* | ||
|
@@ -85,14 +69,7 @@ public class Vector3d { | |
|
||
/** The Constant Z_ONE. */ | ||
public static final Vector3d Z_ONE = new Vector3d(0, 0, 1); | ||
/** | ||
* Returns the length of this vector. | ||
* @return the length of this vector | ||
*/ | ||
public double length() | ||
{ | ||
return Math.sqrt(this.x*this.x + this.y*this.y + this.z*this.z); | ||
} | ||
|
||
/** | ||
* Creates a new vector. | ||
* | ||
|