perspective: fix copy/paste error

This commit is contained in:
Philippe Renon 2020-10-11 11:57:43 +02:00
parent 0b0f248267
commit 822f114254
1 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ impl<N: RealField + Arbitrary> Arbitrary for Perspective3<N> {
impl<N: RealField> From<Perspective3<N>> for Matrix4<N> { impl<N: RealField> From<Perspective3<N>> for Matrix4<N> {
#[inline] #[inline]
fn from(orth: Perspective3<N>) -> Self { fn from(pers: Perspective3<N>) -> Self {
orth.into_inner() pers.into_inner()
} }
} }