소스 검색

fixed missing return statement

danaugrs 7 년 전
부모
커밋
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.