Re: d3dx8: D3DXCreateMatrixStack
April 7, 2008
4:46 p.m.
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.
6563
Age (days ago)
6563
Last active (days ago)
0 comments
1 participants
participants (1)
-
tony.wasserkaï¼ freenet.de