OGL Map X-Y-Z coords

Programming, for all ages and all languages.
Post Reply
nuno_silva_pt

OGL Map X-Y-Z coords

Post 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!
Sc_

Re:OGL Map X-Y-Z coords

Post 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.
Post Reply