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.