#include #include #include "rayScene.h" #include "rayCylinder.h" //////////////////////// // Ray-tracing stuff // //////////////////////// double RayCylinder::intersect(Ray3D ray,RayIntersectionInfo& iInfo,double mx){ return -1; } BoundingBox3D RayCylinder::setBoundingBox(void){ Point3D p; p=Point3D(radius,height/2,radius); bBox=BoundingBox3D(center+p,center-p); return bBox; } ////////////////// // OpenGL stuff // ////////////////// int RayCylinder::drawOpenGL(int materialIndex){ return -1; }