Group Group Group Group Group Group Group Group Group

raywenderlich.com Forums

Metal Tutorial with Swift 3 Part 2: Moving to 3D

In this second part of our Metal tutorial series, learn how to create a rotating 3D cube using Apple's built-in 3D graphics API.


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/728-metal-tutorial-with-swift-3-part-2-moving-to-3d

I made a Swift version of Matrix4 https://gist.github.com/jay18001/cc217a294e61c4345d60c9445a2981a1

please correct instanceCount to 1

Couldn’t you use double4x4 from the simd module?

This tutorial is more than six months old so questions are no longer supported at the moment for it. We will update it as soon as possible. Thank you! :]