migrate to swift 5

This commit is contained in:
Paul Zabelin
2019-04-09 01:23:56 -07:00
parent 92da0f2525
commit ecfdfd972b
3 changed files with 15 additions and 5 deletions

View File

@@ -9,8 +9,8 @@
import simd
extension Vector3 {
static let one = Vector3(.one)
static let zero = Vector3(0)
static let one = Vector3(repeating: .one)
static let zero = Vector3(repeating: 0)
static let lastIndex = Vector3().scalarCount - 1
static let indexSlice = 0...Vector3.lastIndex
}