#170·nannou

Mesh vertex conversion trait implementations

Author: mitchmindtreeCreated Jul 2, 2018Updated Jun 12, 2026
Labelsgeom

The mesh::vertex module provides a series of "vertex" adaptors. E.g. WithColor, WithTexCoords, WithNormal.

Currently, the traits for easily converting from tuples, or points into combinations of mesh vertex adaptors is a bit of a mess. We either need:

  • A better hierarchy of blanket implementations
  • Unique implementation for each known type, perhaps simplified with a macro.