|
template<typename T = double> |
static constexpr T | sq2_2 (void) |
|
template<typename T = double> |
static constexpr T | sq2 (void) |
|
template<typename T = double> |
static constexpr T | e (void) |
|
template<typename T = double> |
static constexpr T | pi (void) |
|
template<typename T = double> |
static constexpr T | tau (void) |
|
template<typename T = double> |
static constexpr T | radians (T d) |
|
template<typename T = double> |
static constexpr T | degrees (T r) |
|
template<typename T > |
static constexpr T | round_down_pow2 (T n, T d) |
|
template<typename T > |
static constexpr T | round_up_pow2 (T n, T d) |
|
template<typename T > |
static constexpr T | round_down (T n, T d) |
|
template<typename T > |
static constexpr T | round_up (T n, T d) |
|
template<typename T > |
static constexpr T | round_up_div (T n, T d) |
|
template<unsigned_integral T> |
static constexpr T | mip_levels (T extent) |
|
template<typename T > |
static constexpr auto | dot (T u, T v) |
|
template<typename T > |
static constexpr auto | length2 (T v) |
|
template<typename T > |
static auto | length (T v) |
|
template<typename T > |
static T | normalize (T v) |
|
template<template< typename > typename V, typename T >
requires vector<V, T> |
static V< T > | clamp_len (V< T > v, T len) |
|
template<typename T > |
static constexpr vector_type< T > | sum (T v) |
|
template<typename T > |
static constexpr vector_type< T > | product (T v) |
|
template<typename T > |
static constexpr vector_type< T > | avg (T v) |
|
template<typename T > |
static constexpr vec3_base< T > | cross (vec3_base< T > u, vec3_base< T > v) |
|
template<typename T > |
static constexpr T | angle (vec2_base< T > u, vec2_base< T > v) |
|
template<typename T > |
static constexpr T | angle (vec3_base< T > u, vec3_base< T > v, vec3_base< T > n) |
|
template<typename T > |
static constexpr vec3_base< T > | reflect (vec3_base< T > v, vec3_base< T > n) |
|
template<typename T > |
static constexpr vec3_base< T > | normal (vec3_base< T > p0, vec3_base< T > p1, vec3_base< T > p2) |
|
static void | mat_mul (std::span< float > dst, const float *src0, const float *src1, std::size_t n) |
|
template<typename T > |
static vec3_base< T > | perspective_transform (const mat4_base< T > &m, vec3_base< T > v) |
|
template<typename T > |
static constexpr vec3_base< T > | diag (const mat3_base< T > &m, std::size_t i) |
|
template<typename T > |
static constexpr vec3_base< T > | inv_diag (const mat3_base< T > &m, std::size_t i) |
|
template<typename T > |
static constexpr mat3_base< T > | minor_matrix (const mat4_base< T > &m, std::size_t i, std::size_t j) |
|
template<typename T > |
static constexpr T | minor (const mat4_base< T > &m, std::size_t i, std::size_t j) |
|
template<typename T > |
static constexpr T | determinant (const mat3_base< T > &m) |
|
template<typename T > |
static constexpr T | determinant (const mat4_base< T > &m) |
|
template<typename T > |
static constexpr T | cofactor (const mat4_base< T > &m, std::size_t i, std::size_t j) |
|
template<typename T > |
static constexpr mat4_base< T > | adjugate (const mat4_base< T > &m) |
|
template<typename T > |
static constexpr mat4_base< T > | inverse (const mat4_base< T > &m) |
|
template<typename T > |
static constexpr mat3_base< T > | transpose (const mat3_base< T > &m) |
|
template<typename T > |
static constexpr mat4_base< T > | transpose (const mat4_base< T > &m) |
|
template<typename T > |
static constexpr mat4_base< T > | translate (const mat4_base< T > &m, vec3_base< T > v) |
|
template<typename T > |
static constexpr mat4_base< T > | scale (const mat4_base< T > &m, vec3_base< T > v) |
|
template<typename T > |
static constexpr vec2_base< T > | rotate (vec2_base< T > v, T sin, T cos) |
|
template<typename T > |
static constexpr vec2_base< T > | rotate (vec2_base< T > v, T angle) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate (vec3_base< T > v, T sin, T cos, vec3_base< T > n) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate (vec3_base< T > v, T angle, vec3_base< T > n) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate_x (vec3_base< T > v, T sin, T cos) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate_y (vec3_base< T > v, T sin, T cos) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate_z (vec3_base< T > v, T sin, T cos) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate_x (vec3_base< T > v, T angle) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate_y (vec3_base< T > v, T angle) |
|
template<typename T > |
static constexpr vec3_base< T > | rotate_z (vec3_base< T > v, T angle) |
|
template<typename T > |
static constexpr mat4_base< T > | rotate (const mat4_base< T > &m, T angle, vec3_base< T > v) |
|
template<typename T > |
static constexpr mat4_base< T > | ortho (T left, T right, T bottom, T top) |
|
template<typename T > |
static constexpr mat4_base< T > | ortho (T left, T right, T bottom, T top, T near, T far) |
|
template<typename T > |
static constexpr mat4_base< T > | perspective (T fovy, T aspect, T near, T far) |
|
template<typename T > |
static constexpr mat4_base< T > | look_at (vec3_base< T > eye, vec3_base< T > center, vec3_base< T > up) |
|
static void | gaussian_filter (std::size_t size, float std_dev, std::span< float > s) |
|
static void | gaussian_filter (std::size_t xsize, std::size_t ysize, float std_dev, std::span< float > s) |
|
static bool | is_aligned (void *p, std::size_t a) |
|
static void * | align_ptr (void *p, std::size_t a) |
|
template<typename T > |
static T * | align_ptr (void *p) |
|