diff --git a/Math/Math/Matrix.swift b/Math/Math/Matrix.swift index d4c3ea6..d6e68df 100644 --- a/Math/Math/Matrix.swift +++ b/Math/Math/Matrix.swift @@ -292,10 +292,10 @@ public func *(lhs: T, rhs: T) -> T { // MARK: Matrix-Vector multiplication public func *(lhs: Matrix4, rhs: Vector4) -> Vector4 { - var out = Vector4() + var out = Vector4(x: 0.0, y: 0.0, z: 0.0, w: 0.0) for i in 0..