|
read out in an array
Why do you need other WORLD variable?
just go
g_HeightMap[x][y] instead of WORLD[x][y] ...
" Do we need us? "
just go
g_HeightMap[x][y] instead of WORLD[x][y] ...
" Do we need us? "
" Do we need us? "Ionware Productions - Games and Game Tools Development
but i doesnt work
i think because
g_HeightMap is an onedimesionlal array
but i need it in an twodimensional array
world [256][256];
or is it something else ....
i think because
g_HeightMap is an onedimesionlal array
but i need it in an twodimensional array
world [256][256];
or is it something else ....
but i doesnt work
i think because
g_HeightMap is an onedimesionlal array
but i need it in an twodimensional array
world [256][256];
or is it something else ....
i think because
g_HeightMap is an onedimesionlal array
but i need it in an twodimensional array
world [256][256];
or is it something else ....
Don''t know if this will help, but the normal way to find the data at (x,y) in a one-dimensional array is to do the following:
array[width*y + x]
array[width*y + x]
-------------------------------------------------------BZZZZTT - CRASH - BANG"What was that?!""Captain, it appears that we have encountered a strange sub-space anomaly. I'm getting a high reading of tracheons beams. The anomaly seems to be some kind of rift in the space-time continuum. -- Never mind, Bones was just using the microwave again."
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement