Changes between Initial Version and Version 1 of Ticket #2039, comment 2


Ignore:
Timestamp:
Jul 16, 2013, 8:40:28 AM (11 years ago)
Author:
wraitii

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2039, comment 2

    initial v1  
    11Furthermore the functions to calculate terrain normals are not very efficient, relying a lot on "CalcPosition" which isn't efficient in that case. My patch changes the normal and the fixed version to take into account the specificity of what's asked. haven't tested, but it can only be faster.
     2
     3(note: I increment X and Z by 4 because that's the value of TERRAIN_TILE_SIZE, we might want to use that instead.)