Interface Rotation
public interface Rotation
Represents a rotation with specified pitch and yaw values.
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionfloatpitch()Retrieves the pitch component of the rotation, measured in degrees.static Rotationrotation(float yaw, float pitch) Creates a new rotation with the specified yaw and pitch values.floatyaw()Retrieves the yaw component of the rotation, measured in degrees.
-
Method Details
-
rotation
Creates a new rotation with the specified yaw and pitch values.- Parameters:
yaw- the yaw component of the rotation, measured in degreespitch- the pitch component of the rotation, measured in degrees- Returns:
- a new
Rotationinstance with the specified yaw and pitch - Since:
- 0.1.0
-
pitch
-
yaw
-