|
opynsim
Unofficial C++ Documentation
|
#include <chrono>#include <cmath>#include <type_traits>Go to the source code of this file.
Namespaces | |
| namespace | osc |
Functions | |
| template<typename Rep , typename Period , typename Arithmetic > requires std::is_arithmetic_v<Rep> | |
| and std::is_arithmetic_v< Arithmetic > constexpr std::chrono::duration< Rep, Period > | osc::lerp (const std::chrono::duration< Rep, Period > &a, const std::chrono::duration< Rep, Period > &b, const Arithmetic &t) |
| template<typename Clock , typename Duration , typename Arithmetic > requires std::is_arithmetic_v<Arithmetic> | |
| constexpr std::chrono::time_point< Clock, Duration > | osc::lerp (const std::chrono::time_point< Clock, Duration > &a, const std::chrono::time_point< Clock, Duration > &b, const Arithmetic &t) |