opynsim
Unofficial C++ Documentation
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
unorm.h File Reference
#include <liboscar/maths/scalar.h>
#include <cmath>
#include <compare>
#include <concepts>
#include <functional>
#include <limits>
#include <ostream>
#include <stdexcept>
Include dependency graph for unorm.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  osc::Unorm< T >
 
struct  osc::IsScalar< Unorm< T > >
 
struct  std::hash< osc::Unorm< T > >
 

Namespaces

namespace  osc
 

Functions

template<std::unsigned_integral T>
std::ostream & osc::operator<< (std::ostream &o, const Unorm< T > &unorm)
 
template<std::unsigned_integral T, std::floating_point TInterpolant>
constexpr Unorm< Tosc::lerp (Unorm< T > a, Unorm< T > b, TInterpolant t)
 
template<std::unsigned_integral T>
constexpr Unorm< Tosc::saturate (const Unorm< T > &v)