From 20c1d2c0c8ffb932f17694c305031794d608440d Mon Sep 17 00:00:00 2001 From: Lucas Vas Date: Thu, 3 Sep 2026 11:19:00 -0400 Subject: [PATCH] docs: update rotation to reflect radians --- src/common/instance.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/instance.rs b/src/common/instance.rs index 48956cd..a23b3f1 100644 --- a/src/common/instance.rs +++ b/src/common/instance.rs @@ -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, /// The scale of the instance, represented as the scaling in XYZ coordinates. pub scale: Vector3,