50 PN_stdfloat bx, PN_stdfloat by, PN_stdfloat bz) :
51 _a(ax, ay, az), _b(bx, by, bz)
74 INLINE
void CollisionSegment::
77 mark_internal_bounds_stale();
89 INLINE
void CollisionSegment::
90 set_point_a(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z) {
99 INLINE
const LPoint3 &CollisionSegment::
100 get_point_a()
const {
109 INLINE
void CollisionSegment::
110 set_point_b(
const LPoint3 &b) {
112 mark_internal_bounds_stale();
122 INLINE
void CollisionSegment::
123 set_point_b(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z) {
132 INLINE
const LPoint3 &CollisionSegment::
133 get_point_b()
const {
bool set_from_lens(LensNode *camera, const LPoint2 &point)
Accepts a LensNode and a 2-d point in the range [-1,1].
The abstract base class for all things that can collide with other things in the world, and all the things they can collide with (except geometry).
A node that contains a Lens.
CollisionSegment()
Creates an invalid segment.
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
A finite line segment, with two specific endpoints but no thickness.
This is a two-component point in space.