How do I rotate an arkit 4x4 matrix around Y using Apple's SIMD library?
I am trying to implement some code based on an ARKit demo where someone used this helper function to place a waypoint let rotationMatrix = MatrixHelper.rotateAboutY( degrees: bearing * -1 ) How can I implement the .rotateAboutY function using the SIMD library and not using GLKit? To make it easier, I could start from the origin point. I'm not too handy with the matrix math so a more basic explanation would be helpful. The rotation around Y matrix is: | cos(angle) 0 sin(angle)| | 0 1 0 | |-sin(angle) 0 cos(angle)| Rotation counter-clockwise around Y: |cos(angle) 0 -sin(angle)| | 0 1 0 | |sin