Actually, I am making a call into a library that demands an int(*)[3] and I'm not absolutely sure what the int(*)[3] syntax means.
My question is how do I dynamically create an int(*)[3] ??
I thought int(*)[3] defined a multimensional array, so I made an int** and allocated the array dynamically. The compiler says, "Can't convert from int** to int(*)[3].
How should this be done?
The library that I am using demands an array of triangles and their vertices.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.