Remove unnecessary clone
call in Transformation
This commit is contained in:
parent
9e139e6ca7
commit
3f6c6b7b02
@ -49,6 +49,6 @@ impl AsRef<[f32; 16]> for Transformation {
|
|||||||
|
|
||||||
impl From<Transformation> for [f32; 16] {
|
impl From<Transformation> for [f32; 16] {
|
||||||
fn from(t: Transformation) -> [f32; 16] {
|
fn from(t: Transformation) -> [f32; 16] {
|
||||||
t.as_ref().clone()
|
*t.as_ref()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user