GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
RayTraceSphereImpl Class Reference

#include <RayTrace.hh>

Inheritance diagram for RayTraceSphereImpl:
Collaboration diagram for RayTraceSphereImpl:

Public Member Functions

 RayTraceSphereImpl (Point center, float radius)
bool RayIntersect (Point p1, Vector dir) const
virtual Point RayIntersectPoint (Point p1, Vector dir) const
Public Member Functions inherited from RayTrace
 RayTrace (ContinuousVoxel< float > &objs)
Point RayTraceFunc (Point p, Vector v)

Constructor & Destructor Documentation

◆ RayTraceSphereImpl()

RayTraceSphereImpl::RayTraceSphereImpl ( Point center,
float radius )
inline

Member Function Documentation

◆ RayIntersect()

bool RayTraceSphereImpl::RayIntersect ( Point p1,
Vector dir ) const
inlinevirtual

Implements RayTrace.

◆ RayIntersectPoint()

virtual Point RayTraceSphereImpl::RayIntersectPoint ( Point p1,
Vector dir ) const
inlinevirtual

Implements RayTrace.


The documentation for this class was generated from the following file: