Module let_engine::resources::data

source ·
Expand description

Holds model related data structures like Vertices and premade models as well as a circle maker macro.

Structs§

  • A vertex containing it’s position (xy) and texture position (uv).

Enums§

  • Vertex and index data for the appearance and shape of objects. Has 3 simple presets.

Functions§

  • Creates a vertex with given x and y coordinates for position and given tx and ty coordinates for the UV texture mapping for those points.
  • Creates a vertex with given x and y coordinates for both position and texture position.