Things I did today:
- Created a complex boundary for flowers. This way, the flowers won’t be constrained to a rectangular shape. Instead, they spread out around the models and text in a U-shape. This makes the garden look more natural; rounded in stead of sharp.
- Added a bit of fuzz around the edges of the garden. The program will add a random value between -2 and 2 to the X and Z values of the new flower position.
- Broke the code in MoveFlowers() up into more methods, bool CheckForAcceptablePosition(float x, float z) and bool CheckForUniquePosition(float x, float z). These methods determine whether the incoming position is acceptable (within the complex boundary of the garden) and unique (far enough away from all existing flowers).