br_bounds
typedef
vector.h
for precise declaration and ordering)
br_vector3 min Minimal corner
br_vector3 max Maximal corner
BrScenePick3D()
82
.
BrOnScreenCheck()
249
.
br_actor
74
, br_model
228
.
A non-
A non-
The pointer to the destination matrix,
Members
Co-ordinates of the minimal corner of the bounding box.br_vector3 min
Co-ordinates of the maximal corner of the bounding box.br_vector3 max
Operations
Description:
Find the transform that maps a 2 unit cube centred at the origin to the given bounding box.BrBoundsToMatrix34()
br_matrix34* BrBoundsToMatrix34(br_matrix34* mat, const br_bounds* bounds)
br_matrix34 * mat
Null
pointer to the destination matrix, into which will be placed the transform.const br_bounds * bounds
Null
pointer to the bounding box.br_matrix34 *
mat
, returned for convenience.br_actor
74
Copy/Assign
Copy by assignment. Initialisation
Use vector initialisers, e.g.
br_bounds my_bounds={BR_VECTOR3(-1.,-2.,-3.), BR_VECTOR3(1.,2.,3.)};
Generated with CERN WebMaker