Skip to content

Commit

Permalink
Removing the breaking change away from Vector3d
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Sep 1, 2024
1 parent 5822986 commit 83e6adc
Showing 1 changed file with 3 additions and 26 deletions.
29 changes: 3 additions & 26 deletions src/main/java/eu/mihosoft/vrl/v3d/Vector3d.java
Original file line number Diff line number Diff line change
Expand Up @@ -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{


/**
*
Expand All @@ -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.
*
Expand Down

0 comments on commit 83e6adc

Please sign in to comment.