VoxelFarm::VoxelHitInfo Struct Reference

Public Attributes

bool valid
 whether there is a valid hit position (the rest of the data is not useful if this is false)
 
CellId cell
 cell hit by a collision / ray
 
int voxel [3]
 voxel coordinates within the cell
 
int outsideDirection [3]
 voxel direction to the open side of the voxel
 
double position [3]
 position of the hit (in world space)
 
double normal [3]
 voxel normal at the hit position
 
int material
 material of the hit voxel
 

Detailed Description

Definition at line 40 of file ClipmapView.h.


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