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. | |
Functions | |
template<typename TimeType , typename UnitType > | |
auto | ph::math::duration_to_HMS (const std::chrono::duration< TimeType, UnitType > &totalTime) -> std::array< TimeType, 3 > |
template<typename TimeType > | |
auto | ph::math::milliseconds_to_HMS (const TimeType &totalTime) -> std::array< TimeType, 3 > |
template<typename TimeType > | |
auto | ph::math::seconds_to_HMS (const TimeType &totalSeconds) -> std::array< TimeType, 3 > |
template<typename T > | |
T | ph::math::mean_solar_time_to_solar_time_24H (const T standardTime24H, const T standardMeridianRadians, const T siteLongitudeRadians, const T julianDate) |
Convert mean solar time to solar time. | |