work on raytracing

This commit is contained in:
2017-09-06 08:34:20 +02:00
parent c21925e86f
commit e4cd9c6b8d
32 changed files with 2790 additions and 3 deletions

28
geo/Ray3.h Normal file
View File

@@ -0,0 +1,28 @@
#ifndef RAY3_H
#define RAY3_H
#include "Point3.h"
struct Ray3 {
/** starting point */
Point3 start;
/** ray's direction */
Point3 dir;
public:
/** empty */
Ray3() : start(), dir() {
;
}
/** ctor */
Ray3(Point3 start, Point3 dir) : start(start), dir(dir) {
;
}
};
#endif // RAY3_H