14 #ifndef __BULLET_CLOSEST_HIT_RAY_RESULT_H__ 15 #define __BULLET_CLOSEST_HIT_RAY_RESULT_H__ 34 LPoint3 get_from_pos()
const;
35 LPoint3 get_to_pos()
const;
40 LPoint3 get_hit_pos()
const;
41 LVector3 get_hit_normal()
const;
42 PN_stdfloat get_hit_fraction()
const;
44 int get_shape_part()
const;
45 int get_triangle_index()
const;
47 MAKE_PROPERTY(from_pos, get_from_pos);
48 MAKE_PROPERTY(to_pos, get_to_pos);
49 MAKE_PROPERTY(node, get_node);
50 MAKE_PROPERTY(hit_pos, get_hit_pos);
51 MAKE_PROPERTY(hit_normal, get_hit_normal);
52 MAKE_PROPERTY(hit_fraction, get_hit_fraction);
53 MAKE_PROPERTY(shape_part, get_shape_part);
54 MAKE_PROPERTY(triangle_index, get_triangle_index);
57 virtual bool needsCollision(btBroadphaseProxy* proxy0)
const;
58 virtual btScalar addSingleResult(btCollisionWorld::LocalRayResult& rayResult,
bool normalInWorldSpace);
73 #endif // __BULLET_CLOSEST_HIT_RAY_RESULT_H__ PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A basic node of the scene graph or data graph.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.