Access floats of XMMatrix - () operator not working
问题 I'm trying to do some 3D stuff in DirectX (I'm migrating from OpenGL) and I've hit a snag. I want to access the values of an XMMATRIX and looking at the Microsoft documentation there should be an () operator: float& operator ()( size_t Row, size_t Column ); So I tried using as such: XMMATRIX i = XMMatrixIdentity(); float j = i(0,0); But Intellisense gives me the error: IntelliSense: call of an object of a class type without appropriate operator() or conversion functions to pointer-to-function