Skip to content

Commit ca7c85a

Browse files
committed
Remove confusing ref to self
1 parent d4e7320 commit ca7c85a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Sources/GateEngine/Resources/Import & Export/Importers/GLTransmissionFormat.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,7 @@ extension GLTransmissionFormat: SkinImporter {
724724
}
725725
private func inverseBindMatrices(
726726
from bufferView: GLTF.BufferView,
727-
expecting count: Int,
728-
in gltf: GLTF
727+
expecting count: Int
729728
) async -> [Matrix4x4]? {
730729
guard
731730
let buffer = gltf.buffer(at: bufferView.buffer)?.advanced(
@@ -771,8 +770,7 @@ extension GLTransmissionFormat: SkinImporter {
771770
guard
772771
let inverseBindMatrices = await inverseBindMatrices(
773772
from: gltf.bufferViews[skin.inverseBindMatrices],
774-
expecting: skin.joints.count,
775-
in: gltf
773+
expecting: skin.joints.count
776774
)
777775
else {
778776
throw GateEngineError.failedToDecode("Failed to parse skin.")

0 commit comments

Comments
 (0)