From 200cce8acd95506cbd65401c030b7918e490315b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 25 Jun 2017 09:53:42 +1000 Subject: [PATCH] SPIGOT-3371: Add note about angular values in Location By: md_5 --- paper-api/src/main/java/org/bukkit/Location.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/paper-api/src/main/java/org/bukkit/Location.java b/paper-api/src/main/java/org/bukkit/Location.java index 5c5b3ba50..5c3d42cc4 100644 --- a/paper-api/src/main/java/org/bukkit/Location.java +++ b/paper-api/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;