From 63c9ff74c23a52aa8fd718a0c6d26fc6c88fab01 Mon Sep 17 00:00:00 2001 From: Edouard DUPIN Date: Sat, 18 Oct 2014 08:18:54 +0200 Subject: [PATCH] [STYLE] wrong Pthese position --- etk/math/Vector3D.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/etk/math/Vector3D.h b/etk/math/Vector3D.h index a999dd3..5f153c6 100644 --- a/etk/math/Vector3D.h +++ b/etk/math/Vector3D.h @@ -166,8 +166,7 @@ namespace etk { Vector3D& safeNormalize() { Vector3D absVec = this->absolute(); int maxIndex = absVec.maxAxis(); - if (absVec[maxIndex]>0) - { + if (absVec[maxIndex]>0) { *this /= absVec[maxIndex]; return *this /= length(); }