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

typos : intersects_ray() (#4201)

typos : intersects_ray()
This commit is contained in:
rustbasic
2024-03-21 20:10:02 +09:00
committed by GitHub
parent 2c9c5f0dea
commit 7d3d7ce0ca
2 changed files with 2 additions and 2 deletions

View File

@@ -607,7 +607,7 @@ impl Rect {
impl Rect {
/// Does this Rect intersect the given ray (where `d` is normalized)?
pub fn intesects_ray(&self, o: Pos2, d: Vec2) -> bool {
pub fn intersects_ray(&self, o: Pos2, d: Vec2) -> bool {
let mut tmin = -f32::INFINITY;
let mut tmax = f32::INFINITY;