I second that opinion. If you know offhand the maximum number of vertex (is that the plural?) you''ll have, then using a Vector will just generate unnecessary overhead.
shmoove
2D Line Terrain
Well I managed to get it working, it's probably very poorly coded but the framerate seems pretty high on my T610. I ended up using a custom vector class someone lent me.
Terrain.class
I will probably go through and replace the vector bits with a fixed size array at some point but for now I just need to get the collision sorted.
Back to y = mx + b I think...
[edited by - LazyManc on April 18, 2004 11:37:25 AM]
Terrain.class
I will probably go through and replace the vector bits with a fixed size array at some point but for now I just need to get the collision sorted.
Back to y = mx + b I think...
[edited by - LazyManc on April 18, 2004 11:37:25 AM]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement