public final class VectorUtil
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.Location |
calculateVector(org.bukkit.Location planeLoc,
org.bukkit.util.Vector plane,
org.bukkit.Location origin,
org.bukkit.util.Vector direction)
Calculate the exact location at which a vector intersects a given plane
|
static org.bukkit.Location |
sixteenth(org.bukkit.Location location)
Round a location's values rounded to the sixteenth
|
public static org.bukkit.Location calculateVector(org.bukkit.Location planeLoc,
org.bukkit.util.Vector plane,
org.bukkit.Location origin,
org.bukkit.util.Vector direction)
planeLoc - A point on the planeplane - A vector normal to the planeorigin - The origin of the raydirection - A normal direction of the raypublic static org.bukkit.Location sixteenth(org.bukkit.Location location)
location -