Просмотр исходного кода

fixed missing return statement

danaugrs 7 лет назад
Родитель
Сommit
6fcb068ce0
1 измененных файлов с 1 добавлено и 0 удалено
  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.