37 INLINE
void set_length(dReal length);
38 INLINE dReal get_length();
39 INLINE
void set(dReal px, dReal py, dReal pz, dReal dx, dReal dy, dReal dz);
40 INLINE
void set(
const LVecBase3f &start,
const LVecBase3f &dir);
41 INLINE
void get(LVecBase3f &start, LVecBase3f &dir)
const;
42 INLINE LVecBase3f get_start()
const;
43 INLINE LVecBase3f get_direction()
const;
44 INLINE
void set_params(
int first_contact,
int backface_cull);
45 INLINE
void get_params(
int &first_contact,
int &backface_cull)
const;
46 INLINE
int get_first_contact()
const;
47 INLINE
int get_backface_cull()
const;
48 INLINE
void set_closest_hit(
int closest_hit);
49 INLINE
int get_closest_hit();
52 INLINE
static int get_geom_class() {
return dRayClass; };
58 static void init_type() {
61 OdeGeom::get_class_type());
64 return get_class_type();
66 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...