From 91dcbef92cef3d74a53c689080234209a1452e7d Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 25 Jun 2017 09:53:42 +1000 Subject: SPIGOT-3371: Add note about angular values in Location --- src/main/java/org/bukkit/Location.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java/org') 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. + *
+ * 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; -- cgit v1.2.3