52 bool IntersectP(
const RAY& aRay,
float aMaxDistance )
const override;
void SetColor(SFVEC3F aObjColor)
Manage a bounding box defined by two SFVEC3F min max points.
bool Intersects(const BBOX_3D &aBBox) const override
bool IntersectP(const RAY &aRay, float aMaxDistance) const override
bool Intersect(const RAY &aRay, HITINFO &aHitInfo) const override
Stores the hit information of a ray with a point on the surface of a object.
A plane that is parallel to XY plane.
XY_PLANE(const BBOX_3D &aBBox)
SFVEC3F GetDiffuseColor(const HITINFO &aHitInfo) const override