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.
How should this be done?
The library that I am using demands an array of triangles and their vertices.