Stores the result of a raycast operation. More...
#include <Raycast.h>
Public Attributes | |
bool | foundIntersection |
Indicates whether an intersection was found. | |
Vector3DInt32 | intersectionVoxel |
If an intersection was found then this field holds the intersecting voxel, otherwise it is undefined. | |
Vector3DInt32 | previousVoxel |
Stores the result of a raycast operation.
A instance of this structure is passed to a Raycast object, and is filled in as the ray traverses the volume. The 'foundIntersection' field indicates whether the ray hit any solid voxels, and if so the 'intersectionVoxel' field indicates the voxel's position
Definition at line 38 of file Raycast.h.
Indicates whether an intersection was found.
Definition at line 41 of file Raycast.h.
Referenced by PolyVox::AmbientOcclusionCalculator< VolumeType, VoxelType >::execute().