Well if you declare the pointer the right way, then yes you can allocate the whole 2D array in one step.
float (*vertices)[3];
But this only works when all the minor dimensions are constants.
BTW - Use std::vector in C++.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953