Przeglądaj źródła

fixed missing return statement

danaugrs 7 lat temu
rodzic
commit
6fcb068ce0
1 zmienionych plików z 1 dodań i 0 usunięć
  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.