Posts

Post not yet marked as solved
9 Replies
I has the issue on iPhone X (but not on other devices) with iOS 13.1.2 where the SSID was available for a few minutes after a power cycle; iOS 13.1.3 released today seems to have fixed the issue.
Post not yet marked as solved
1 Replies
Ha! found it/* Rotate 'm' by 'angle' radians about the vector '(x, y, z)' and return the result: * m' = rotation(angle, x, y, z) * m. Note: on iOS 10.12 or before, the matrix are combined in the wrong order: m' = m * rotation(angle, x, y, z) */ SCN_EXPORT SCNMatrix4 SCNMatrix4Rotate(SCNMatrix4 m, float angle, float x, float y, float z) API_AVAILABLE(macos(10.10));therefore the correct code above should beSCNMatrix4 matrix = SCNMatrix4FromGLKMatrix4(projection); if (portrait) { matrix = SCNMatrix4Mult(matrix, SCNMatrix4MakeRotation(-M_PI_2, 0, 0, 1)); } [_cameraNode.camera setProjectionTransform:matrix];