Skip to main content
Version: 20 Mar 2024

MLPolygon

Module: Planes

Coplanar connected line segments representing the outer boundary of a polygon, an n-sided polygon where n is the number of vertices. More...

#include <ml_planes.h>

Public Attributes

TypeName
MLVec3f *vertices
uint32_tvertices_count

Detailed Description

struct MLPolygon;

Coplanar connected line segments representing the outer boundary of a polygon, an n-sided polygon where n is the number of vertices.

Deprecated

Deprecated since 1.6.0. Scheduled for removal.

API Level:

  • 2

Public Attributes Documentation

vertices

MLVec3f * vertices;

Vertices of all line segments.


vertices_count

uint32_t vertices_count;

Number of vertices.