PDA

Click to See Complete Forum and Search --> : How do you use D3DX.GenerateAdjacency ?


Cuallito
Apr 28th, 2001, 07:41 PM
Hey. How do you use the D3DX.GenerateAdjacency method? No matter what I try, my prog keeps crashing. Will someone please tell me how to use it right? Thanks in advance!

Current Code:

Dim adj As D3DXBuffer
Set adj = D3DX.CreateBuffer(6)
Mesh.GenerateAdjacency 0, ByVal adj.GetBufferPointer "This is
'the line that causes the crash

Zaei
Apr 28th, 2001, 10:04 PM
Its not a ByVal call. Take that out. Then it should work.

Z.