17 return r +
": [" + x +
" " + y +
" " + z +
"]";
Represents a rotation defined by an axis and an angle.
Provides a collection of mathematical utility functions and constants.
String ToString()
Converts the AxisAngle to a string representation.
Vector3D Axis
The axis of rotation, represented as a 3D vector.
float Rotation
The angle of rotation in degrees (or radians, depending on usage).
AxisAngle(float rotation, float x, float y, float z)
Constructs an AxisAngle with a rotation angle and individual axis components.
static String DoubleToCleanString(float value)
Converts a floating-point value to a String, removing trailing decimals if not needed.
Represents a 3D vector (X, Y, Z) and provides methods for vector arithmetic.