BRL-CAD
sat.h File Reference
#include "common.h"
#include "vmath.h"
#include "bg/defines.h"
Include dependency graph for sat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int bg_sat_line_aabb (point_t origin, vect_t ldir, point_t aabb_center, vect_t aabb_extent)
 Implementation of Separating Axis Theorem intersection tests. More...
 
int bg_sat_line_obb (point_t origin, vect_t ldir, point_t obb_center, vect_t obb_extent1, vect_t obb_extent2, vect_t obb_extent3)
 
int bg_sat_tri_aabb (point_t v1, point_t v2, point_t v3, point_t aabb_center, vect_t aabb_extent)
 
int bg_sat_tri_obb (point_t v1, point_t v2, point_t v3, point_t obb_center, vect_t obb_extent1, vect_t obb_extent2, vect_t obb_extent3)
 
int bg_sat_aabb_obb (point_t aabb_min, point_t aabb_max, point_t obb_center, vect_t obb_extent1, vect_t obb_extent2, vect_t obb_extent3)
 
int bg_sat_obb_obb (point_t obb1_center, vect_t obb1_extent1, vect_t obb1_extent2, vect_t obb1_extent3, point_t obb2_center, vect_t obb2_extent1, vect_t obb2_extent2, vect_t obb2_extent3)