Cube Shape.
More...
#include <models3.h>
◆ Cube()
RayMarching::Cube::Cube |
( |
Eigen::Vector3d |
p, |
|
|
double |
bound, |
|
|
color_t |
color = BLACK |
|
) |
| |
|
inline |
Creates new Cube
- Parameters
-
p | center of the Cube |
bound | side length of the Cube |
◆ ~Cube()
RayMarching::Cube::~Cube |
( |
| ) |
|
|
overridedefault |
◆ getBound()
double RayMarching::Cube::getBound |
( |
| ) |
const |
|
inline |
Bound getter
- Returns
- Cube's side length
◆ getDist()
double RayMarching::Cube::getDist |
( |
const Eigen::Vector3d & |
p | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files: