1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 06:10:06 -04:00

Fix docstring

This commit is contained in:
Emil Ernerfeldt
2024-06-26 09:00:11 +02:00
parent d30f79db60
commit 42b9491364

View File

@@ -8,9 +8,9 @@ use super::Vec2;
// `vec2(c,s)` represents where the X axis will end up after rotation. // `vec2(c,s)` represents where the X axis will end up after rotation.
// //
/// Represents a rotation in the 2D plane. /// Represents a rotation in the 2D plane.
// ///
/// A rotation of 𝞃/4 = 90° rotates the X axis to the Y axis. /// A rotation of 𝞃/4 = 90° rotates the X axis to the Y axis.
// ///
/// Normally a [`Rot2`] is normalized (unit-length). /// Normally a [`Rot2`] is normalized (unit-length).
/// If not, it will also scale vectors. /// If not, it will also scale vectors.
#[repr(C)] #[repr(C)]