|
-
Jul 24th, 2006, 07:15 PM
#1
tri-dimension Array alternatives
Hi All,
I am looking at options for holding multiple sets of 3 elements of data to represent a 'Starry Background' (x and y co-ordinates and a colour value - all integers).
I was fine with an Array for x and y (int stararry[600][1]) prior to adding the colour component.
I could use a tri-dimensional Array but that could use a ton of memory.
I could use 3 seperate Arrays (each [600]). One for x, one for y and one for colour.
Idea's?
Cheers,
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|