Photon Engine 2.0.0-beta
A physically based renderer.
|
Go to the source code of this file.
Namespaces | |
namespace | ph |
The root for all renderer implementations. | |
namespace | ph::math |
Math functions and utilities. | |
namespace | ph::math::detail |
Functions | |
template<typename T > | |
TVector2< T > | ph::math::detail::octahedron_diamond_mirror (const TVector2< T > &point) |
template<typename T > | |
TVector2< T > | ph::math::octahedron_unit_vector_encode (const TVector3< T > &unitVec) |
Encode a unit vector using octahedron projection. | |
template<typename T > | |
TVector3< T > | ph::math::octahedron_unit_vector_decode (const TVector2< T > &encodedVal) |
Decode and get a unit vector using octahedron projection. | |