Create a new Z-axis rotation matrix.
Creates a fresh matrix representing a rotation around the Z-axis. This is ideal for initialization and clean transformations.
The resulting matrix will be: | cos(θ) -sin(θ) 0 | | sin(θ) cos(θ) 0 | | 0 0 1 |
- Parameters
-
angle | Rotation angle around Z-axis. |
- Returns
- A new rotation matrix.
static consteval Angle FromDegrees(double degrees)
Creates angle from degrees at compile time.
Definition angle.hpp:204
static constexpr Matrix33 CreateRotationZ(const Angle &angle)
Create a new Z-axis rotation matrix.
Definition mat33.hpp:476
constexpr Matrix33()
Default constructor initializing to a zero matrix.
Definition mat33.hpp:76
A high-performance three-dimensional vector implementation optimized for Saturn hardware.
Definition vector3d.hpp:51