From 84a01a720ded3e9a2ae11bc87e5ae5460fe6398b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Crozet?= Date: Fri, 2 Feb 2018 12:26:37 +0100 Subject: [PATCH] Fix unnecessary parenthesis. --- src/geometry/rotation_specialization.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/geometry/rotation_specialization.rs b/src/geometry/rotation_specialization.rs index d3c8cfa6..d6635f1b 100644 --- a/src/geometry/rotation_specialization.rs +++ b/src/geometry/rotation_specialization.rs @@ -155,15 +155,15 @@ impl Rotation3 { let one_m_cos = N::one() - cos; Self::from_matrix_unchecked(MatrixN::::new( - (sqx + (N::one() - sqx) * cos), - (ux * uy * one_m_cos - uz * sin), - (ux * uz * one_m_cos + uy * sin), - (ux * uy * one_m_cos + uz * sin), - (sqy + (N::one() - sqy) * cos), - (uy * uz * one_m_cos - ux * sin), - (ux * uz * one_m_cos - uy * sin), - (uy * uz * one_m_cos + ux * sin), - (sqz + (N::one() - sqz) * cos), + sqx + (N::one() - sqx) * cos, + ux * uy * one_m_cos - uz * sin, + ux * uz * one_m_cos + uy * sin, + ux * uy * one_m_cos + uz * sin, + sqy + (N::one() - sqy) * cos, + uy * uz * one_m_cos - ux * sin, + ux * uz * one_m_cos - uy * sin, + uy * uz * one_m_cos + ux * sin, + sqz + (N::one() - sqz) * cos, )) } }