Quad Functions

Community Forums/Showcase/Quad Functions

Matty(Posted 2004) [#1]
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.


jfk EO-11110(Posted 2004) [#2]
nice one. quads are never around when you need them - until now :)


Gabriel(Posted 2004) [#3]
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.


mearrin69(Posted 2004) [#4]
Yup...this may solve something I was working on as well. Cheers :) M


Matty(Posted 2004) [#5]
I have made some major changes to the Quad functions code which make it easier to use.