docs: update rotation to reflect radians

This commit is contained in:
alphafetus committed 2026-09-03 11:19:00 -04:00
1 parent 284476dac7
commit 20c1d2c0c8
1 file changed
+2
+2
View File
@@ -18,6 +18,8 @@ pub struct MeshInstance {
/// The rotation of the instance. Note that since this is a [`Vector4`], or Euler angle, it
/// suffers from gimbal lock. If this becomes a serious issue, an [`nalgebra::UnitQuaternion`]
/// should be used instead.
///
/// This value is in radians.
pub rotation: Vector4<f32>,
/// The scale of the instance, represented as the scaling in XYZ coordinates.
pub scale: Vector3<f32>,