Geometry Utils
Functions
Returns the distance between two lines in 3D space. The lines are passes as two points for each line.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from vec0 to vec1.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from the Player to the given entity at the same height. offset can be used to offset the target height.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from the Player feet to the given vec. offset can be used to offset the target height.
Returns array(distance, yaw, pitch) in minecraft coordinate system to get from x0y0z0 to x1y1z1.
Rotates the vector to the given Yaw and returns the result.
Scales the horizontal part (x and z) of the vector by the given factor and returns the result.
Scales the vertical part (y) of the vector by the given factor and returns the result.