|
| static std::vector< float > | math::log_space (std::size_t start, std::size_t end, std::size_t count) |
| |
| bool | math::is_negative_float (const float &A) |
| |
| template<typename T > |
| T | math::square (const T &t) |
| |
| bool | math::compute_projected_sphere_shaft (float light_x, float light_z, float radius, const glm::mat4 &proj, const glm::vec3 &axis, float axis_sign, std::int32_t &in_out_min_x, std::int32_t &in_out_max_x) |
| |
| std::uint32_t | math::compute_projected_sphere_rect (std::int32_t &left, std::int32_t &right, std::int32_t &top, std::int32_t &bottom, const glm::vec3 &sphere_center, float radius, const glm::vec3 &view_origin, const glm::mat4 &view, const glm::mat4 &proj) |
| |
| float | math::halton (std::uint32_t Index, std::uint32_t Base) |
| |
| void | math::taa_subpixel_offset_progressive (std::uint32_t frame, float &offset_x, float &offset_y, float temporal_phase_scale=1.0f) |
| | 2D subpixel jitter in [-0.5, 0.5] for temporal AA (Kronecker / golden-ratio sequence).
|
| |
| void | math::taa_subpixel_offset_halton (std::uint32_t frame, float &offset_x, float &offset_y, float temporal_phase_scale=1.0f) |
| |
| void | math::taa_subpixel_offset_r2 (std::uint32_t frame, float &offset_x, float &offset_y, float temporal_phase_scale=1.0f) |
| |
| std::uint32_t | math::power_of_n_round_down (std::uint32_t val, std::uint32_t n) |
| |