An abstract vector of a 3-dimensional Euclidean space.
- Companion
- object
Value members
Concrete methods
Calculate the normalized vector that points to the same direction as this vector. Requires that this vector is nonzero.
Calculate the normalized vector that points to the same direction as this vector. Requires that this vector is nonzero.
Pitch of an entity whose face direction is collinear to this vector. Requires that this vector is nonzero.
Pitch of an entity whose face direction is collinear to this vector. Requires that this vector is nonzero.
See https://wiki.vg/index.php?title=Protocol&oldid=16681#Player_Rotation for details.
Yaw of an entity whose face direction is collinear to this vector. Requires that this vector has nonzero projection onto XZ plane.
Yaw of an entity whose face direction is collinear to this vector. Requires that this vector has nonzero projection onto XZ plane.
See https://wiki.vg/index.php?title=Protocol&oldid=16681#Player_Rotation for details.