14 #ifndef PHYSXCAPSULE_H 15 #define PHYSXCAPSULE_H 32 void compute_direction(LPoint3f &dir)
const;
33 float compute_length()
const;
34 void compute_point(LPoint3f &p,
float t)
const;
35 float compute_square_length()
const;
36 LPoint3f get_origin()
const;
37 void set_origin_direction(
const LPoint3f &origin,
const LVector3f &direction);
39 float get_radius()
const;
40 LPoint3f get_p0()
const;
41 LPoint3f get_p1()
const;
43 void set_radius(
float value);
44 void set_p0(LPoint3f p);
45 void set_p1(LPoint3f p);
53 #endif // PHYSCAPSULE_H PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a line segment.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.