Commit f6aa1be2 authored by Emeric Verschuur's avatar Emeric Verschuur
Browse files

No commit message

No commit message
parent 532e949b
Loading
Loading
Loading
Loading
+1 −1
Changes for LrGeometry.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ LrGeometry::~LrGeometry()
{
}

bool LrGeometry::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometry::getIntersection(const LrRay &ray, LrHit *hit) const
{
    
}
+2 −2
Changes for LrGeometry.h: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -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:
};

+1 −1
Changes for LrGeometryPoint.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ LrGeometryPoint::~LrGeometryPoint()
{
}

bool LrGeometryPoint::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometryPoint::getIntersection(const LrRay &ray, LrHit *hit) const
{

}
+1 −1
Changes for LrGeometryPoint.h: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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:
};

+1 −1
Changes for LrGeometryQuadrangle.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@ LrGeometryQuadrangle::~LrGeometryQuadrangle()
{
}

bool LrGeometryQuadrangle::getIntersection(const LrRay &ray, LrHit &hit) const
bool LrGeometryQuadrangle::getIntersection(const LrRay &ray, LrHit *hit) const
{

}
Loading