|
Photon Engine 2.0.0-beta
A physically based renderer.
|
#include "Math/Function/TMathFunction2D.h"#include "Math/TVector2.h"#include <cmath>#include <algorithm>Go to the source code of this file.
Classes | |
| class | ph::math::THeavisideStep2D< Value > |
| A step function in 2-D, with a specific normal direction. This is a simplified version of general Heaviside step function in 2-D. This class represents 1-D Heaviside in 2-D, dividing the xy-plane into regions of value 0 & 1 (while a general Heaviside step function in 2-D can have the discontinuity along an arbitarary 2-D contour, this class does not support that). Value along the line of discontinuity is 0.5 (for integer types, this would be 0). More... | |
Namespaces | |
| namespace | ph |
| The root for all renderer implementations. | |
| namespace | ph::math |
| Math functions and utilities. | |