CreateDiscMesh#

Mesh *CreateDiscMesh(float radius, uint32_t segments)#

Creates a circular disc mesh.

Generates a flat circular mesh with the specified radius and number of segments.

Parameters:
  • radius[in] Radius of the disc

  • segments[in] Number of radial segments for tessellation

Returns:

Pointer to the created disc mesh