Remove unnecessary clone call in Transformation
This commit is contained in:
parent
9e139e6ca7
commit
3f6c6b7b02
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue