diff options
author | md_5 <git@md-5.net> | 2017-06-25 09:53:42 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-06-25 09:53:42 +1000 |
commit | 91dcbef92cef3d74a53c689080234209a1452e7d (patch) | |
tree | af810938cb07fe84a7cadd4a1d4e4e68372be86d /src/main/java | |
parent | f068554c9d1051d21457b943fc6c96b3682d7ca4 (diff) | |
download | bukkit-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/java')
-rw-r--r-- | src/main/java/org/bukkit/Location.java | 7 |
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; |