[Chapter 6.2] Small typo

renderEncoder.setVertexBytes(
&uniforms,
length: MemoryLayout.stride,
index: 1)

Shaders.metal is referencing index 11, not 1.

1 Like

@peterjig thank you for noticing that!

I was confused because it’s correct when you have to type it in, but not later when it’s referring to it, so fortunately it won’t break anything :sweat_smile:. I’ll work out how to update the chapter.

2 Likes