Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Make Memblock from Mesh Header Help File has error

Author
Message
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 21st Sep 2006 10:33
This may have been posted before, but -

I was making a Direct x object exporter in DBC and kept running into problems when using MAKE MEMBLOCK FROM MESH. I couldn't get the face information into my .x file from the memblock. It turns out, the header information in the help file is a little bit incorrect:



While it has DWORD (4 bytes) listed as the size, it has 2 bytes written at the beginning. I wasn't paying attention and used the 2 bytes (WORD) instead of 4 bytes (DWORD). I think this section in the help file should read:



Enjoy your day.

Login to post a reply

Server time is: 2025-05-25 22:07:43
Your offset time is: 2025-05-25 22:07:43