Unravel Engine C++ Reference
Loading...
Searching...
No Matches
math.h File Reference
#include "bbox.h"
#include "bsphere.h"
#include "frustum.h"
#include "math_types.h"
#include "plane.h"
#include "transform.hpp"
#include <functional>

Go to the source code of this file.

Classes

struct  math::color
 

Namespaces

namespace  math
 

Functions

bool math::is_negative_float (const float &A)
 
template<typename 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)
 
std::uint32_t math::power_of_n_round_down (std::uint32_t val, std::uint32_t n)