tree: abc518621e3269ba946f65f04515090334c1c0cb [path history] [tgz]
  1. indexed_triangle_mesh.h
  2. indexed_triangle_mesh_clip.h
  3. indexed_triangle_mesh_upload.h
  4. README.md
  5. tessellation.cc
  6. tessellation.h
src/ui/lib/escher/mesh/README.md

escher/mesh/

Indexed Triangle Mesh

IndexedTriangleMesh is a CPU-based mesh representation which is amenable to geometric algorithms such as clipping against an oriented plane.

Tessellation

Provided functions to generate a variety of 2D and 3D mesh shapes, e.g.

  • sphere
  • circle
  • ring
  • rounded rectangle

Some of these produce a mesh that has already been uploaded to the GPU, and others produce an IndexedTriangleMesh which can be processed further before uploading.