Drop useless default implementations

This commit is contained in:
numzero 2024-06-30 12:33:55 +03:00
parent d515054281
commit ffc74ef09b

View File

@ -190,8 +190,8 @@ mod coords {
use super::{Rect, Tube}; use super::{Rect, Tube};
pub trait FlatCoordinateSystem<T> { pub trait FlatCoordinateSystem<T> {
fn flat_to_global(&self, v: T) -> T { v } fn flat_to_global(&self, v: T) -> T;
fn global_to_flat(&self, v: T) -> T { v } fn global_to_flat(&self, v: T) -> T;
} }
pub trait FlatRegion: FlatCoordinateSystem<Vec2> + FlatCoordinateSystem<Ray> + FlatCoordinateSystem<Location> { pub trait FlatRegion: FlatCoordinateSystem<Vec2> + FlatCoordinateSystem<Ray> + FlatCoordinateSystem<Location> {