Crate bevy_mesh

Source

Re-exports§

Modules§

Structs§

Enums§

Constants§

Functions§

  • Compute a vector whose direction is the normal of the triangle formed by points a, b, c, and whose magnitude is double the area of the triangle. This is useful for computing smooth normals where the contributing normals are proportionate to the areas of the triangles as discussed here.
  • Compute the normal of a face made of three points: a, b, and c.