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

Optional full ray result. More...

#include <rapier.h>

Data Fields

struct R2RayHit hit
 Shape/ray impact details.
R2Bool found
 Whether a result exists; other result fields are meaningful only when this is 1.

Detailed Description

Optional full ray result.

A miss is found = 0 with status OK.

Field Documentation

◆ found

R2Bool R2OptionalRayHit::found

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

◆ hit

struct R2RayHit R2OptionalRayHit::hit

Shape/ray impact details.


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