Rapier C — 3D / f32 0.36.0+c.0
Loading...
Searching...
No Matches
R3TriangleView Struct Reference

Borrowed array of triangle elements. More...

#include <rapier.h>

Data Fields

const struct R3Triangle * data
 Borrowed pointer to contiguous elements; NULL is allowed when count is zero.
size_t count
 Number of elements, not bytes unless the element type is a byte.

Detailed Description

Borrowed array of triangle elements.

count counts elements of the declared type. Copying this view does not copy its data or extend its lifetime. No Free is needed. Data must remain live through the build/insert call that reads the description. NULL is permitted only when count is zero.

Field Documentation

◆ count

size_t R3TriangleView::count

Number of elements, not bytes unless the element type is a byte.

◆ data

const struct R3Triangle* R3TriangleView::data

Borrowed pointer to contiguous elements; NULL is allowed when count is zero.


The documentation for this struct was generated from the following file: