By jptsetung
on Wed, 09/27/2017 - 08:27
Hi,
I updated to Xcode 9, and I have a compilation problem calling SahderUtils::multplyMatrix
ShaderUtils::multiplyMatrix(&qUtils.projectionMatrix.data[0], <<<<<< error Cannot take the address of an rvalue of type 'float' &modelViewMatrixVideo.data[0] , &modelViewProjectionVideo.data[0]);
I don't really know how to solve this, any help appreciated.
Is this a valid approach to fix it ?
Vuforia::Matrix44F tmpM=qUtils.projectionMatrix; ShaderUtils::multiplyMatrix(&tmpM.data[0], //qUtils.projectionMatrix.data[0], &modelViewMatrixVideo.data[0] , &modelViewProjectionVideo.data[0]);
Thank you.