Commit: 77fb6422475df49995aad159934808484f56e043 Trac URL: http://developer.wz2100.net/changeset/77fb6422475df49995aad159934808484f56e043
Author: Per Inge Mathisen <[email protected]> Date: Tue Nov 9 19:11:15 2010 +0100 The current algorithm for matching a defensive structure to terrain looks at the higher corner of a tile. This new algorithm looks instead at the higher position on a tile where a vertex in the model would intersect the terrain if it were level with the ground. This makes defensive structures match up with the terrain much closer, avoiding the 'jutting out of the terrain' effect of building defensive structures on uneven terrain. This closes ticket:2299 src/structure.c | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) ------------------------- ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ Warzone2100-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/warzone2100-commits
