Commit f6aa1be2 authored by Emeric Verschuur's avatar Emeric Verschuur

--no commit message

--no commit message
parent 532e949b
......@@ -19,7 +19,7 @@ LrGeometry::~LrGeometry()
{
}
bool LrGeometry::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometry::getIntersection(const LrRay &ray, LrHit *hit) const
{
}
......@@ -41,9 +41,9 @@ public:
/**
* @brief Give the intersection point of this object and a ray.
* @param ray LrRay object reference.
* @return un LrPoint3d object.
* @return true if they are an intersection, otherwithe false.
*/
virtual bool getIntersection(const LrRay &ray, LrHit &hit) const;
virtual bool getIntersection(const LrRay &ray, LrHit *hit) const;
private:
};
......
......@@ -21,7 +21,7 @@ LrGeometryPoint::~LrGeometryPoint()
{
}
bool LrGeometryPoint::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometryPoint::getIntersection(const LrRay &ray, LrHit *hit) const
{
}
......@@ -43,7 +43,7 @@ public:
* @param ray LrRay object reference.
* @return un LrPoint3d object.
*/
virtual bool getIntersection(const LrRay &ray, LrHit &hit) const;
virtual bool getIntersection(const LrRay &ray, LrHit *hit) const;
private:
};
......
......@@ -21,7 +21,7 @@ LrGeometryQuadrangle::~LrGeometryQuadrangle()
{
}
bool LrGeometryQuadrangle::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometryQuadrangle::getIntersection(const LrRay &ray, LrHit *hit) const
{
}
......@@ -43,7 +43,7 @@ public:
* @param ray LrRay object reference.
* @return un LrPoint3d object.
*/
virtual bool getIntersection(const LrRay &ray, LrHit &hit) const;
virtual bool getIntersection(const LrRay &ray, LrHit *hit) const;
private:
};
......
......@@ -21,7 +21,7 @@ LrGeometrySphere::~LrGeometrySphere()
{
}
bool LrGeometrySphere::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometrySphere::getIntersection(const LrRay &ray, LrHit *hit) const
{
}
......@@ -43,7 +43,7 @@ public:
* @param ray LrRay object reference.
* @return un LrPoint3d object.
*/
virtual bool getIntersection(const LrRay &ray, LrHit &hit) const;
virtual bool getIntersection(const LrRay &ray, LrHit *hit) const;
private:
};
......
......@@ -21,7 +21,7 @@ LrGeometryTriangle::~LrGeometryTriangle()
{
}
bool LrGeometryTriangle::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometryTriangle::getIntersection(const LrRay &ray, LrHit *hit) const
{
}
......@@ -43,7 +43,7 @@ public:
* @param ray LrRay object reference.
* @return un LrPoint3d object.
*/
virtual bool getIntersection(const LrRay &ray, LrHit &hit) const;
virtual bool getIntersection(const LrRay &ray, LrHit *hit) const;
private:
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment