mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Implement rotating text
Closes https://github.com/emilk/egui/issues/428
This commit is contained in:
@@ -183,7 +183,7 @@ impl Vec2 {
|
||||
self.y.atan2(self.x)
|
||||
}
|
||||
|
||||
/// Create a unit vector with the given angle (in radians).
|
||||
/// Create a unit vector with the given CW angle (in radians).
|
||||
/// * An angle of zero gives the unit X axis.
|
||||
/// * An angle of 𝞃/4 = 90° gives the unit Y axis.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user