RobinTrace
src
pinyo
src
bun
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
bun
Class for ray bundles.
Definition:
bun.h:13
bun::operator<<
friend std::ostream & operator<<(std::ostream &out, const bun &b)
Printer.
Definition:
bun.cpp:14
bun::rays
std::vector< ray > rays
Vector of rays.
Definition:
bun.h:16
bun::bun
bun()
Default constructor.
Definition:
bun.cpp:4
poaky.h
Generated by
1.9.1