29#ifndef _TRUNCATED_CONE_3D_H_
30#define _TRUNCATED_CONE_3D_H_
54 bool IntersectP(
const RAY& aRay,
float aMaxDistance )
const override;
OBJECT_3D(OBJECT_3D_TYPE aObjType)
bool Intersect(const RAY &aRay, HITINFO &aHitInfo) const override
bool IntersectP(const RAY &aRay, float aMaxDistance) const override
bool Intersects(const BBOX_3D &aBBox) const override
void SetColor(SFVEC3F aObjColor)
SFVEC3F GetDiffuseColor(const HITINFO &aHitInfo) const override
TRUNCATED_CONE(SFVEC2F aCenterPoint, float aZmin, float aZmax, float aRadiusMin, float aRadiusMax)
Manage a bounding box defined by two SFVEC3F min max points.
Stores the hit information of a ray with a point on the surface of a object.