23 nassertv_always(!origin.is_nan());
42 nassertv_always(!direction.is_nan());
65 nassertv_always(length > 0.0f);
static NxVec3 point3_to_nxVec3(const LPoint3f &p)
Converts from LPoint3f to NxVec3.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void set_length(float length)
Sets the ray length.
static NxVec3 vec3_to_nxVec3(const LVector3f &v)
Converts from LVector3f to NxVec3.
static LVector3f nxVec3_to_vec3(const NxVec3 &v)
Converts from NxVec3 to LVector3f.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
LVector3f get_direction() const
Returns the ray direction.
float get_length() const
Returns the ray length.
void set_origin(const LPoint3f &origin)
Sets the ray origin.
static LPoint3f nxVec3_to_point3(const NxVec3 &p)
Converts from NxVec3 to LPoint3f.
LPoint3f get_origin() const
Returns the ray origin.
void set_direction(const LVector3f &direction)
Set the ray direction.