gKit2 light

- Main Page
- Related Pages
- Modules
- Classes
- Files

- File List
- File Members

bbox.h
1
2 #ifndef _BBOX_H
3 #define _BBOX_H
4
5 #include <cfloat>
6
7 #include "vec.h"
8
9
10 struct BBox
11 {
12 BBox( ) : min( Point(FLT_MAX, FLT_MAX, FLT_MAX) ), max( Point(-FLT_MAX, -FLT_MAX, -FLT_MAX) ) {}
13 BBox( const Point& p ) : min(p), max(p) {}
14 BBox( const BBox& a, const BBox& b );
15
16 Point min;
17 Point max;
18 };
19
20 BBox& bbox_insert( BBox& b, const Point& p );
21
22 #endif
BBox
Definition: bbox.h:10
Point
representation d'un point 3d.
Definition: vec.h:19
vec.h