ray

Undocumented in source.

Members

Functions

_mm_crossproduct_ps
__m128 _mm_crossproduct_ps(__m128 a, __m128 b)
Undocumented in source. Be warned that the author may not have intended to support it.
_mm_dot_ps
float _mm_dot_ps(__m128 a, __m128 b)
Undocumented in source. Be warned that the author may not have intended to support it.
_mm_intersectQuad
bool _mm_intersectQuad(vec4f orig, vec4f dir, vec4f A, vec4f B, vec4f C, float t, float u, float v)
Undocumented in source. Be warned that the author may not have intended to support it.
intersectVOX
bool intersectVOX(Ray ray, VOX* vox, float t, vec3i index, Vec!vec3i visitedVoxels)
Undocumented in source. Be warned that the author may not have intended to support it.
voxelTraversal
void voxelTraversal(vec3f rayStart, vec3f rayEnd, VOX* vox, Vec!vec3i visitedVoxels)

@brief returns all the voxels that are traversed by a ray going from start to end @param start : continous world position where the ray starts @param end : continous world position where the ray end @return vector of voxel ids hit by the ray in temporal order

Structs

Ray
struct Ray
Undocumented in source.

Meta