Rapier C — 2D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
R2OptionalShapeCastHit Struct Reference

Optional shape-cast result. More...

#include <rapier.h>

Data Fields

struct R2ShapeCastHit hit
 Shape-cast impact details.
R2Bool found
 Whether a result exists; other result fields are meaningful only when this is 1.

Detailed Description

Optional shape-cast result.

A miss is found = 0 with status OK.

Field Documentation

◆ found

R2Bool R2OptionalShapeCastHit::found

Whether a result exists; other result fields are meaningful only when this is 1.

◆ hit

struct R2ShapeCastHit R2OptionalShapeCastHit::hit

Shape-cast impact details.


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