15 #ifndef PHYSXCAPSULE_H
16 #define PHYSXCAPSULE_H
18 #include "pandabase.h"
20 #include "config_physx.h"
21 #include "physxSegment.h"
31 INLINE PhysxCapsule(
const PhysxSegment &segment,
float radius);
32 INLINE ~PhysxCapsule();
34 void compute_direction(
LPoint3f &dir)
const;
35 float compute_length()
const;
36 void compute_point(
LPoint3f &p,
float t)
const;
37 float compute_square_length()
const;
41 float get_radius()
const;
45 void set_radius(
float value);
53 #include "physxCapsule.I"
55 #endif // PHYSCAPSULE_H
This is a three-component vector distance (as opposed to a three-component point, which represents a ...
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Represents a line segment.