+----------------------------------------------+hybrid wrote:the problem here is once again, that many of those structures will be fed into the gfx APIs. So at some point we need to make a decision whether the data might meet the gfx API, or never in its whole life time. For all the latter, another container could be used. But due to reuse and simplification, an optimized algorithm should bring far better results in the end. So yes, we keep the original arrays and will work around those places where they are overused.
High Level Functionality
ITriangleSelector
IrrBigArray
+----------------------------------------------+
IMesh <>---- IMeshBuffer
+----------------------------------------------+
Low Level Functionality
IrrArray
+----------------------------------------------+
Graphic Drivers
+----------------------------------------------+
New API
virtual void irr::scene::ITriangleSelector::getTriangles
(IrrBigArray<core::triangle3df> *triangles, ... );
Deprecated
virtual void irr::scene::ITriangleSelector::getTriangle
(core::triangle3df * triangles, ... );