14 #ifndef PHYSXBOUNDS3_H 15 #define PHYSXBOUNDS3_H 35 void bounds_of_obb(
const LMatrix3f &orientation,
const LPoint3f &translation,
const LVector3f &half_dims);
37 bool contain(
const LPoint3f &p)
const;
38 void fatten(
float distance);
39 void include(
const LPoint3f &v);
41 bool intersects2d(
const PhysxBounds3 &b,
unsigned axis_to_ignore)
const;
42 bool is_empty()
const;
43 void scale(
float scale);
44 void set(
const LPoint3f &min,
const LPoint3f &max);
45 void set_center_extents(
const LPoint3f ¢er,
const LVector3f &extents);
48 void transform(
const LMatrix3f &orientation,
const LPoint3f &translation);
50 LPoint3f get_max()
const;
51 LPoint3f get_min()
const;
52 LPoint3f get_center()
const;
53 LVector3f get_dimensions()
const;
55 void set_max(LPoint3f value);
56 void set_min(LPoint3f value);
64 #endif // PHYSBOUNDS3_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represention of a axis aligned bounding box.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.