CMSC23700 Common Code Library
Support code for CS23700 programming projects
cs237-aabb.inl File Reference

Namespaces

 cs237
 
 cs237::__detail
 

Macros

#define _CS237_AABB_INL_
 
#define DELTA(A)
 
#define MIN(a, b)   ((a <= b) ? a : b)
 
#define MAX(a, b)   ((a <= b) ? b : a)
 

Functions

template<typename T >
AABB< T > cs237::__detail::operator+ (AABB< T > const &bb1, AABB< T > &bb2)
 

Detailed Description

Author
John Reppy

Macro Definition Documentation

#define _CS237_AABB_INL_
#define DELTA (   A)
Value:
(pt.A < this->_min.A) \
? (this->_min.A - pt.A) \
: ((this->_max.A < pt.A) ? (pt.A - this->_max.A) : T(0))
#define MAX (   a,
 
)    ((a <= b) ? b : a)
#define MIN (   a,
 
)    ((a <= b) ? a : b)