diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-08 00:49:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-08 00:49:41 +0300 |
commit | ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9 (patch) | |
tree | 51a99a43eba0b09ca9e5f554b3676d0308685797 /src/vector.h | |
parent | 538261b13990ee02bbc62d9704233885b15cee04 (diff) | |
download | plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.gz plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.bz2 plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.xz plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.zip |
Fix code style with new tool.
Diffstat (limited to 'src/vector.h')
-rw-r--r-- | src/vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vector.h b/src/vector.h index 744b235c0..2caf48418 100644 --- a/src/vector.h +++ b/src/vector.h @@ -185,8 +185,8 @@ class Vector */ Vector normalized() const { - const float l = length(); - return Vector(x / l, y / l, z / l); + const float len = length(); + return Vector(x / len, y / len, z / len); } float x, y, z; |