|
RayMarching
0.0.1
Simple 3D engine based on a ray marching rendering
|
3 byte color representation structure More...
#include <colors.h>
Public Member Functions | |
| struct color | mix (const struct color &other) const |
Public Attributes | |
| pixel | R |
| pixel | G |
| pixel | B |
3 byte color representation structure
Creates arithmetic average of two colors
| other | second color |
| pixel RayMarching::color::B |
Blue color
| pixel RayMarching::color::G |
Green color
| pixel RayMarching::color::R |
Red color