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

Optional voxel lookup result; check found before reading voxel data. More...

#include <rapier.h>

Data Fields

struct R2VoxelKey key
 Integer voxel coordinates.
struct R2Vector center
 World-space wheel center.
struct R2Vector size
 Voxel dimensions along each axis.
R2Bool found
 Whether a result exists; other result fields are meaningful only when this is 1.

Detailed Description

Optional voxel lookup result; check found before reading voxel data.

Field Documentation

◆ center

struct R2Vector R2VoxelQuery::center

World-space wheel center.

◆ found

R2Bool R2VoxelQuery::found

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

◆ key

struct R2VoxelKey R2VoxelQuery::key

Integer voxel coordinates.

◆ size

struct R2Vector R2VoxelQuery::size

Voxel dimensions along each axis.


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