libdonut  2.3.2
Application framework for cross-platform game development in C++20
Classes | Namespaces | Functions
Time.hpp File Reference
#include <donut/math.hpp>
#include <chrono>
#include <cstddef>
#include <fmt/format.h>
#include <ratio>

Go to the source code of this file.

Classes

class  donut::Time< T, Period >
 Time duration value wrapper. More...
 
struct  fmt::formatter< donut::Time< T, Period >, CharT >
 

Namespaces

 donut
 

Functions

template<typename T , typename Period >
constexpr Time< T, Period > donut::operator* (Time< T, Period > a, T b) noexcept
 
template<typename T , typename Period >
constexpr Time< T, Period > donut::operator* (T a, Time< T, Period > b) noexcept
 
template<typename T , typename Period >
constexpr Time< T, Period > donut::operator/ (Time< T, Period > a, T b) noexcept
 
template<length_t L, typename T , typename Period >
constexpr vec< L, T > donut::operator* (vec< L, T > a, Time< T, Period > b) noexcept
 
template<length_t L, typename T , typename Period >
constexpr vec< L, T > donut::operator* (Time< T, Period > a, vec< L, T > b) noexcept
 
template<length_t L, typename T , typename Period >
constexpr vec< L, T > donut::operator/ (vec< L, T > a, Time< T, Period > b) noexcept
 
template<length_t L, typename T , typename Period >
constexpr vec< L, T > donut::operator/ (Time< T, Period > a, vec< L, T > b) noexcept