Browse Source

fix compiler error in VecN

Kolja Strohm 2 years ago
parent
commit
bc8144f1f0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      VecN.h

+ 1 - 1
VecN.h

@@ -40,7 +40,7 @@ namespace Framework
 		inline VecN& normalize()
 		{
 			const T length = getLength();
-			for (i = 0; i < N; i++)
+			for (int i = 0; i < N; i++)
 				v[i] /= length;
 			return *this;
 		}