Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AverageVec ¶
AverageVec returns the average of the vectors. they must be normalized.
func NewTerrain ¶
NewTerrain returns a (n-2)(n-2) heightmap. We need the 4 adjacent vertices to accuratelly calculate normals.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.