70 aOutVector[i++] = object;
79 if( !
m_bbox.Intersect( aRay ) )
86 if( object->Intersect( aRay, aHitInfo) )
98 if( object->IntersectP( aRay, aMaxDistance ) )
void ConvertTo(std::vector< const OBJECT_3D * > &aOutVector) const
std::list< OBJECT_3D * > m_objects
virtual ~CONTAINER_3D_BASE()
bool Intersect(const RAY &aRay, HITINFO &aHitInfo) const override
bool IntersectP(const RAY &aRay, float aMaxDistance) const override
Stores the hit information of a ray with a point on the surface of a object.