Commits

Jason McKesson  committed 9bebdc4

VMath: Fix for vector/scalar operations.

  • Participants
  • Parent commits f1d90b9

Comments (0)

Files changed (1)

File Tools/vmath.lua

 			if(not rightIsVec) then
 				return leftIsVec(rhs, lhs);
 			else
-				return rightIsVec(lhs, rhs);
+				return rightIsVec(rhs, lhs);
 			end
 		else
 			assert(rhsType == "number", "You cannot operate a " .. lhsType ..
 	return theVec / theLen;
 end
 
+normalize = norm;
 
 
+