1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-30 21:30:03 -04:00

Rename Egui to egui

Also update iamges in README.md
This commit is contained in:
Emil Ernerfeldt
2021-01-17 14:48:59 +01:00
parent 9dba63fa3f
commit 31b7eda51e
55 changed files with 173 additions and 172 deletions

View File

@@ -5,7 +5,7 @@ use crate::*;
/// A vector has a direction and length.
/// A [`Vec2`] is often used to represent a size.
///
/// Egui represents positions using [`Pos2`].
/// emath represents positions using [`Pos2`].
///
/// Normally the units are points (logical pixels).
#[derive(Clone, Copy, Default)]
@@ -68,7 +68,7 @@ impl Vec2 {
}
/// Rotates the vector by 90°, i.e positive X to positive Y
/// (clockwise in Egui coordinates).
/// (clockwise in egui coordinates).
#[inline(always)]
pub fn rot90(self) -> Self {
vec2(self.y, -self.x)