Skip to content

Commit

Permalink
Update array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Ines333 committed Mar 15, 2024
1 parent 9872922 commit 6aabde3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ let points: [[Float]] = [
]

// The coordinates on 2D plan of cube vertices.
var projectedPoints: [Point] = Array(repeating: Point(x: 0, y: 0), count: points.count)
var projectedPoints = [Point](repeating: Point(x: 0, y: 0), count: points.count)
var lastProjectedPoints = projectedPoints

var angle: Float = 0
Expand Down

0 comments on commit 6aabde3

Please sign in to comment.