projects
/
sixth-3d.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code cleanup and formatting.
[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
462f310
..
4cae6ae
100755
(executable)
--- a/
src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java
+++ b/
src/main/java/eu/svjatoslav/sixth/e3d/geometry/Point3D.java
@@
-9,9
+9,7
@@
package eu.svjatoslav.sixth.e3d.geometry;
package eu.svjatoslav.sixth.e3d.geometry;
-import static java.lang.Math.cos;
-import static java.lang.Math.sin;
-import static java.lang.Math.sqrt;
+import static java.lang.Math.*;
/**
* Used to represent point in a 3D space or vector.
/**
* Used to represent point in a 3D space or vector.
@@
-74,7
+72,7
@@
public class Point3D extends Point2D implements Cloneable {
}
@Override
}
@Override
- public boolean isZero(){
+ public boolean isZero()
{
return (x == 0) && (y == 0) && (z == 0);
}
return (x == 0) && (y == 0) && (z == 0);
}