3D Stuff

XLnt now supports 3D stuff - nice!

How do we do it then? Well, we just add a new 3D gadget to a window. This basically draws a 3D camera onto an area of a window - all automaticaly. You can even toggle individual wireframe modes - 3D Object Editor anyone?

There's also a nice little variable for you to look at - GUI_3DPORT. This holds either NULL or the 3D gadget that was last clicked (or created). This allows you to simply find out which camera is currently selected. See how I look after you lot? :P

So, here's the functions.....

Function Name What it does
GUI_3D() Add a 3D gadget to a window
GUI_SETWIRE() Toggles a gadgets wireframe mode

Thats it - piece of cake!