Explorar el Código

fixed missing return statement

danaugrs hace 7 años
padre
commit
6fcb068ce0
Se han modificado 1 ficheros con 1 adiciones y 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.