RobinTrace
src
poaky
src
rop
rop.h
Go to the documentation of this file.
1
2
#ifndef ROP_H
3
#define ROP_H
4
5
#include "
base/Vec3.h
"
6
#include "
ray/ray.h
"
7
#include <cmath>
8
10
void
reflect
(
ray
&r,
const
Vec3
&N);
12
void
refract
(
ray
&r,
const
Vec3
&N,
double
nr);
13
14
#endif
// ROP_H
Vec3.h
Vec3
Eigen::Vector3d Vec3
Definition:
Vec3.h:11
ray
Class for individual rays.
Definition:
ray.h:9
ray.h
reflect
void reflect(ray &r, const Vec3 &N)
Reflect ray operation.
Definition:
rop.cpp:9
refract
void refract(ray &r, const Vec3 &N, double nr)
Refract ray operation.
Definition:
rop.cpp:23
Generated by
1.9.1