I found this in the PowerVR mesh drawing code and I don't really know how to read it.
&((unsigned short*)0)[3 * mesh.sBoneBatches.pnBatchOffset[batchNum]]
What is going on here? Is this a reference to void cast as an unsigned short pointer and then offset by (3*mesh(etc...) + batchNum)? It's breaking my brain.
It's found in the context of a glDrawElements call:
glDrawElements(GL_TRIANGLES, i32Tris * 3, GL_UNSIGNED_SHORT,
&((unsigned short*)0)[3 * mesh.sBoneBatches.pnBatchOffset[batchNum]]);