projects
/
sixth-3d.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated readability of the code.
[sixth-3d.git]
/
src
/
main
/
java
/
eu
/
svjatoslav
/
sixth
/
e3d
/
geometry
/
Point3D.java
diff --git
a/src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java
b/src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java
index
120ea32
..
3b8ad22
100755
(executable)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java
@@
-4,6
+4,8
@@
*/
package eu.svjatoslav.sixth.e3d.geometry;
*/
package eu.svjatoslav.sixth.e3d.geometry;
+import eu.svjatoslav.sixth.e3d.renderer.octree.IntegerPoint;
+
import static java.lang.Math.*;
/**
import static java.lang.Math.*;
/**
@@
-36,6
+38,13
@@
public class Point3D implements Cloneable {
this.z = z;
}
this.z = z;
}
+ public Point3D(IntegerPoint point) {
+ this.x = point.x;
+ this.y = point.y;
+ this.z = point.z;
+ }
+
+
/**
* Creates new current point by cloning coordinates from parent point.
*/
/**
* Creates new current point by cloning coordinates from parent point.
*/