...still broken

This commit is contained in:
Sebastian 2009-09-21 23:44:02 +02:00
parent 801a164446
commit e8de930395
2 changed files with 5 additions and 2 deletions

View File

@ -139,11 +139,11 @@ float Ray::dist(Punkt3D p) const {
return abs(p - get( getParam(p) ));
}
int getIntersectionParam(const std::Ray &ray, float *param1, float *param2) {
int getIntersectionParam(const Ray &ray, float *param1, float *param2) {
}
int getIntersectionParam(const std::Ray &ray, segl::Punkt3D *a, segl::Punkt3D *b) {
int getIntersectionParam(const Ray &ray, segl::Punkt3D *a, segl::Punkt3D *b) {
}

View File

@ -66,6 +66,9 @@ class Ray {
float dist(Punkt3D p) const;
float getParam(Punkt3D p, bool onray=false) const;
int getIntersectionParam(const Ray &ray, float *param1, float *param2);
int getIntersectionParam(const Ray &ray, segl::Punkt3D *a, segl::Punkt3D *b);
bool collision(const Sphere &s) const;
bool collision(const Ray &r) const;
bool collision(const Box & b) const;