josh ad262d3484 updated a bit
git-svn-id: svn://anubis/gvsu@371 45c1a28c-8058-47b2-ae61-ca45b979098e
2009-01-17 22:10:19 +00:00

23 lines
418 B
C++

#ifndef RAY_H
#define RAY_H RAY_H
#include "Vector.h"
class Ray
{
public:
Ray();
Ray(const Vector & origin, const Vector & direction);
const Vector & getOrigin() const { return m_origin; }
const Vector & getDirection() const { return m_direction; }
Vector getPositionAt(double dist) const;
private:
Vector m_origin;
Vector m_direction;
};
#endif