[STYLE] wrong Pthese position
This commit is contained in:
parent
44ec692fc5
commit
63c9ff74c2
@ -166,8 +166,7 @@ namespace etk {
|
|||||||
Vector3D<T>& safeNormalize() {
|
Vector3D<T>& safeNormalize() {
|
||||||
Vector3D<T> absVec = this->absolute();
|
Vector3D<T> absVec = this->absolute();
|
||||||
int maxIndex = absVec.maxAxis();
|
int maxIndex = absVec.maxAxis();
|
||||||
if (absVec[maxIndex]>0)
|
if (absVec[maxIndex]>0) {
|
||||||
{
|
|
||||||
*this /= absVec[maxIndex];
|
*this /= absVec[maxIndex];
|
||||||
return *this /= length();
|
return *this /= length();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user