added --field-of-view and m_vfov to Scene
git-svn-id: svn://anubis/fart/trunk@36 7f9b0f55-74a9-4bce-be96-3c2cd072584d
This commit is contained in:
1 parent
73cdd1a5a1
commit
c32e826ee3
4 files changed
+24
-2
No files matched your search
@@ -4,11 +4,17 @@
|
||||
|
||||
#include "util/Solver.h"
|
||||
#include "util/Ray.h"
|
||||
#include "util/Transform.h"
|
||||
|
||||
class Shape
|
||||
{
|
||||
public:
|
||||
virtual Solver::Result intersect(const Ray & ray) = 0;
|
||||
void setTransform(const Transform & t) { m_transform = t; }
|
||||
Transform & getTransform() { return m_transform; }
|
||||
|
||||
protected:
|
||||
Transform m_transform;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user