summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2017-06-25 09:53:42 +1000
committermd_5 <git@md-5.net>2017-06-25 09:53:42 +1000
commit91dcbef92cef3d74a53c689080234209a1452e7d (patch)
treeaf810938cb07fe84a7cadd4a1d4e4e68372be86d /src/main
parentf068554c9d1051d21457b943fc6c96b3682d7ca4 (diff)
downloadbukkit-91dcbef92cef3d74a53c689080234209a1452e7d.tar
bukkit-91dcbef92cef3d74a53c689080234209a1452e7d.tar.gz
bukkit-91dcbef92cef3d74a53c689080234209a1452e7d.tar.lz
bukkit-91dcbef92cef3d74a53c689080234209a1452e7d.tar.xz
bukkit-91dcbef92cef3d74a53c689080234209a1452e7d.zip
SPIGOT-3371: Add note about angular values in Location
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/Location.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/Location.java b/src/main/java/org/bukkit/Location.java
index 5c5b3ba5..5c3d42cc 100644
--- a/src/main/java/org/bukkit/Location.java
+++ b/src/main/java/org/bukkit/Location.java
@@ -9,7 +9,12 @@ import org.bukkit.util.NumberConversions;
import org.bukkit.util.Vector;
/**
- * Represents a 3-dimensional position in a world
+ * Represents a 3-dimensional position in a world.
+ * <br>
+ * No constraints are placed on any angular values other than that they be
+ * specified in degrees. This means that negative angles or angles of greater
+ * magnitude than 360 are valid, but may be normalized to any other equivalent
+ * representation by the implementation.
*/
public class Location implements Cloneable, ConfigurationSerializable {
private World world;