]> Pileus Git - grits/commit
Give extra weight to "edge" triangles when splitting
authorAndy Spencer <andy753421@gmail.com>
Mon, 1 Nov 2010 03:37:53 +0000 (03:37 +0000)
committerAndy Spencer <andy753421@gmail.com>
Mon, 1 Nov 2010 03:37:53 +0000 (03:37 +0000)
commit907e81475ed6b87e2a2a918aa32836345005074a
treec0306b6e1e8811fd3c6b0f3c25f2f6bc65675cec
parent850e596cffb982eab6672930c15eb078f1cb737b
Give extra weight to "edge" triangles when splitting

"Edge" triangles are triangles where one of the edges of the triangle
makes up an edge off the mesh. For example, the triangle E below is an
edge triangle due to the top edge.

This helps prevent jagged "edges" on the tops of mountains, etc. It also
helps round out the edges of the globe  when viewed from far away.

  ________________
  \    ______    /
   \  /\ E  /\  /
    \/__\  /__\/
         \/
src/roam.c