Indeed that landscape drawing code regenerates the geometry each time it's called. All that's code in land::draw, except drawmesh(), drawsides() and drawsea() should be placed in the constructor or a initializer. Only the drawing calls should be made from a drawing function.
Indeed that landscape drawing code regenerates the geometry each time it's called. All that's code in land::draw, except drawmesh(), drawsides() and drawsea() should be placed in the constructor or a initializer. Only the drawing calls should be made from a drawing function.
Edit: Modification of provided code land. Hpp class land : … { // ... public: void generate(void); // ... } land. Cpp void land::generate(void) { int i; size = 1; for (i=1;i.
– user985351 Nov 12 at 13:59 @user985351: Yes it would, because it would stop terrain regeneration for every draw call. See my code edit. – datenwolf Nov 12 at 14:21 Sorry, where is your code edit?
– user985351 Nov 12 at 14:25 @user985351: Just posted it. Forgot to submit it as well as the comment, sorry. – datenwolf Nov 12 at 15:04 Working, thanks!
– user985351 Nov 12 at 15:20.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.