Voxvision  1
Creating and manipulating voxel octrees
search.h
Go to the documentation of this file.
1 
8 #ifndef _SEARCH_H_
9 #define _SEARCH_H_
10 
11 #include "tree.h"
12 
24 VOX_EXPORT const struct vox_node*
25 vox_ray_tree_intersection (const struct vox_node* tree, const vox_dot origin,
26  const vox_dot dir, vox_dot res);
27 
36 VOX_EXPORT int vox_tree_ball_collidep (const struct vox_node* tree, const vox_dot center,
37  float radius);
38 
39 #endif
VOX_EXPORT int vox_tree_ball_collidep(const struct vox_node *tree, const vox_dot center, float radius)
Find out if a ball collides with voxels in a tree.
VOX_EXPORT const struct vox_node * vox_ray_tree_intersection(const struct vox_node *tree, const vox_dot origin, const vox_dot dir, vox_dot res)
Find intersection of a tree and a ray.
Voxel tree/node data structure.
Things related to tree construction.