X-Git-Url: http://www2.svjatoslav.eu/gitweb/?p=sixth-3d.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2FUserRelativityTracker.java;fp=src%2Fmain%2Fjava%2Feu%2Fsvjatoslav%2Fsixth%2Fe3d%2Fgui%2FUserRelativityTracker.java;h=dd706db3929d1790e3bf89d05be82843523210a1;hp=6665676ce2b942d6c9a7e78776a5246ee6c850c6;hb=a2131986d65a769e3d589e4e0370d4af0ce10c38;hpb=ca3c5528af8dda8e30f1d698ef921f6443632f54 diff --git a/src/main/java/eu/svjatoslav/sixth/e3d/gui/UserRelativityTracker.java b/src/main/java/eu/svjatoslav/sixth/e3d/gui/UserRelativityTracker.java index 6665676..dd706db 100644 --- a/src/main/java/eu/svjatoslav/sixth/e3d/gui/UserRelativityTracker.java +++ b/src/main/java/eu/svjatoslav/sixth/e3d/gui/UserRelativityTracker.java @@ -8,6 +8,13 @@ import eu.svjatoslav.sixth.e3d.geometry.Point3D; import eu.svjatoslav.sixth.e3d.math.TransformsStack; import eu.svjatoslav.sixth.e3d.math.Vertex; +/** + * Tracks the position of the user in the 3D space. + *

+ * It can be used to determine the angle between the user and the object. + * Also, it can be used to determine the distance between the user and the object. + */ + public class UserRelativityTracker { private final static int minimalSliceFactor = 5;