RobinTrace
bun.h
Go to the documentation of this file.
1 
2 #ifndef BUN_H
3 #define BUN_H
4 
5 #include "poaky.h"
6 #include <vector>
7 #include <unordered_set>
8 
13 class bun {
14  public:
16  std::vector<ray> rays;
17 
19  bun();
21  bun(const std::vector<ray> _rays);
22 
24  friend std::ostream& operator<< (std::ostream &out, const bun &b);
25 };
26 
27 
28 #endif // BUN_H
Class for ray bundles.
Definition: bun.h:13
friend std::ostream & operator<<(std::ostream &out, const bun &b)
Printer.
Definition: bun.cpp:14
std::vector< ray > rays
Vector of rays.
Definition: bun.h:16
bun()
Default constructor.
Definition: bun.cpp:4