Page 1 of 1

OGL Map X-Y-Z coords

Posted: Tue Aug 03, 2004 3:08 am
by nuno_silva_pt
I want to make a map-system for my game that would look like this:

Code: Select all

enum OBJTYPE{NONE=0,BOX=1,PLAYER='P'}
void CreateObject(float x, float y, float z, OBJTYPE)
{
}
can anyone give me an example code?
Thanx y'all!

Re:OGL Map X-Y-Z coords

Posted: Fri Aug 06, 2004 1:44 am
by Sc_
If you are interested in game development you should visit:

http://www.gamedev.net/

It good site to begin with a lot of tutorials and code samples and links.