Actually Rob, I'm not sure your matrix fix is correct...
#if __IPHONE_OS_VERSION_MAX_ALLOWED < 80000
static const matrix_float4x4 matrix_identity_float4x4 = (matrix_identity_float4x4) {
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
};
#endif
Should it not be __IPHONE_OS_VERSION_MIN_ALLOWED and cast to matrix_float4x4 ...ie:
#if __IPHONE_OS_VERSION_MIN_ALLOWED < 80000
static const matrix_float4x4 matrix_identity_float4x4 = (matrix_float4x4) {
1, 0, 0, 0,
0, 1, 0, 0,
0, 0, 1, 0,
0, 0, 0, 1
};
#endif
Though even this fails to compile for me due to matrix_identity_float4x4 having being previously defined in matrix.h