d3dx8: D3DXCreateMatrixStack

tony.wasserka at freenet.de tony.wasserka at freenet.de
Mon Apr 7 11:46:25 CDT 2008


> Well no, you keep track of the array size and grow it when it's too
> small when doing a push.

i.e. HeapReAlloc
http://msdn2.microsoft.com/en-us/library/aa366704(VS.85).aspx

You may optimize that if you allocate space for 2 or so matrices at once,
as it decreases the number of HeapReAlloc calls. However, for a basic
implementation this isn't relevant, yet.












More information about the wine-devel mailing list