CauldronGPU.Sectors.Live.Mesh (CauldronGPU v0.3.3)

Copy Markdown View Source

CauldronGPU.Sectors.Live.Geometry surfaces gathered into one CauldronGPU.Mesh, one part per picture, each corner's lightmap coordinates reading its sector's row of a CauldronGPU.Sectors.Live.Lightmap of count sectors.

{mesh, keys} = CauldronGPU.Sectors.Live.Mesh.build(surfaces, count)

keys lists each part's key, {:picture, id} or :sky, in part order.

Summary

Functions

The mesh holding surfaces and the key of each of its parts.

Functions

build(surfaces, count)

The mesh holding surfaces and the key of each of its parts.