Skip to content

Commit

Permalink
Typo fix, solves #90
Browse files Browse the repository at this point in the history
  • Loading branch information
migueldeicaza committed Jun 11, 2023
1 parent 959553a commit b59c3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftGodot/Core/Packed.swift
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ extension PackedVector2Array {
extension PackedVector3Array {
public subscript (index: Int) -> Vector3 {
get {
let ptr = gi.packed_vector2_array_operator_index (&content, Int64(index))
let ptr = gi.packed_vector3_array_operator_index (&content, Int64(index))
return ptr!.assumingMemoryBound(to: Vector3.self).pointee
}
set {
Expand Down

0 comments on commit b59c3c6

Please sign in to comment.