Explorar o código

fixed missing return statement

danaugrs %!s(int64=7) %!d(string=hai) anos
pai
achega
6fcb068ce0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      math32/matrix3.go

+ 1 - 0
math32/matrix3.go

@@ -199,6 +199,7 @@ func (m *Matrix3) ScaleColumns(v *Vector3) *Matrix3 {
 	m[6] *= v.Z
 	m[7] *= v.Z
 	m[8] *= v.Z
+	return m
 }
 
 // Determinant calculates and returns the determinant of this matrix.