Quad Functions

Miscellaneous Forums/Blitz Showcase/Quad Functions

Here are a collection of Quad functions I have wrote, mainly to help me in writing a game using textured quads, in a game with lots of men running around on a terrain.

http://www.blitzbasic.com/codearcs/codearcs.php?code=917


- They have been updated as of 7th Feb 2004. I added a few extra functions which include:

Laying a quad flat against the terrain with textured side face up.

Removing quads - cheap and easy way of doing so, although probably not the most efficient.

Lifting quads vertically above a terrain.

Checking if a specific quad exists.

nice one. quads are never around when you need them - until now :)

Very nice, Matty, and a generous contribution. People always need Quad Functions. Even people who don't realise they need quad functions need them. I use quads all the time, and these are about to save me rewriting the same code over and over ;)

Thanks.

Yup...this may solve something I was working on as well. Cheers :) M

I have made some major changes to the Quad functions code which make it easier to use.