19 return r +
": [" + x +
" " + y +
" " + z +
"]";
Represents a rotation defined by a direction vector and an angle.
Provides a collection of mathematical utility functions and constants.
String ToString()
Converts the DirectionAngle to a string representation.
DirectionAngle(float rotation, float x, float y, float z)
Constructs a DirectionAngle with a rotation angle and individual direction components.
float Rotation
The angle of rotation in degrees (or radians, depending on usage).
Vector3D Direction
The direction vector defining the axis of rotation.
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.