Drop useless default implementations
This commit is contained in:
parent
d515054281
commit
ffc74ef09b
|
|
@ -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> {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user