Remove Angle % Angle::Unitless
This commit is contained in:
parent
db35af6ae9
commit
519af35d71
1 changed files with 0 additions and 4 deletions
|
@ -68,7 +68,6 @@ pub trait Angle where
|
|||
Self: Mul<<Self as Angle>::Unitless, Output = Self>,
|
||||
Self: Div<Self, Output = <Self as Angle>::Unitless>,
|
||||
Self: Div<<Self as Angle>::Unitless, Output = Self>,
|
||||
Self: Rem<<Self as Angle>::Unitless, Output = Self>,
|
||||
{
|
||||
type Unitless: BaseFloat;
|
||||
|
||||
|
@ -187,9 +186,6 @@ macro_rules! impl_angle {
|
|||
impl_binary_operator!(<S: BaseFloat> Div<S> for $Angle<S> {
|
||||
fn div(lhs, scalar) -> $Angle<S> { $Angle::new(lhs.s / scalar) }
|
||||
});
|
||||
impl_binary_operator!(<S: BaseFloat> Rem<S> for $Angle<S> {
|
||||
fn rem(lhs, scalar) -> $Angle<S> { $Angle::new(lhs.s % scalar) }
|
||||
});
|
||||
|
||||
impl<S: BaseFloat> ApproxEq for $Angle<S> {
|
||||
type Epsilon = S;
|
||||
|
|
Loading…
Reference in a new issue