Namespace xdzm
Namespace List > xdzm
Public Static Attributes
| Type |
Name |
| const glm::mat4 |
identityMatrix = /* multi line expression */
|
Public Functions
| Type |
Name |
| glm::vec3 |
ImVec4_vec3 (const ImVec4 & color, float fac=1.0f)
|
| glm::vec3 |
ImVec4_vec3_Uni (const ImVec4 & color, const float & fac)
|
| glm::vec3 |
Vec3Spin (const glm::vec3 & vecInp, const glm::vec3 & anch, const glm::vec3 & axis, const float & angle)
|
| float |
dir_float_dist (const float & a, const float & b)
|
| float |
float_dist (const float & a, const float & b)
|
| glm::vec3 |
get_id_color (const int id)
|
| glm::vec3 |
get_random_color (const int id)
|
| glm::mat4 |
lookAt (const glm::vec3 pos, const glm::vec3 tar, const glm::vec3 up)
|
| float |
map (float inp, float i_min, float i_max, float o_min, float o_max)
|
| float |
map (float inp)
|
| _Ele |
map01_11 (_Ele inp)
|
| float |
rand01 ()
|
| float |
rand11 ()
|
| glm::vec2 |
rand2 ()
|
| glm::vec3 |
rand3 ()
|
| std::vector< glm::vec3 > |
rand3hKernel (size_t s)
|
| glm::vec3 |
rand3n (float r=1.0f)
|
| glm::vec3 |
rand3nh (float r=1.0f)
|
| std::vector< glm::vec3 > |
rand3nhv (size_t s)
|
| std::vector< glm::vec3 > |
rand3nv (size_t s)
|
| glm::vec4 |
rand4 ()
|
| float |
sin01 (float in)
|
| glm::vec3 |
stdVec3_vec3 (const std::vector< float > & inp)
|
| glm::mat4 |
transpose (const glm::mat4 _tar)
|
| std::vector< float > |
vec3_stdVec3 (const glm::vec3 & inp)
|
| std::vector< float > |
vec3_stdVec6 (const glm::vec3 & inp, const glm::vec3 & inp2)
|
Public Static Functions
Public Static Attributes Documentation
variable identityMatrix
const glm::mat4 xdzm::identityMatrix;
Public Functions Documentation
function ImVec4_vec3
inline glm::vec3 xdzm::ImVec4_vec3 (
const ImVec4 & color,
float fac=1.0f
)
function ImVec4_vec3_Uni
inline glm::vec3 xdzm::ImVec4_vec3_Uni (
const ImVec4 & color,
const float & fac
)
function Vec3Spin
inline glm::vec3 xdzm::Vec3Spin (
const glm::vec3 & vecInp,
const glm::vec3 & anch,
const glm::vec3 & axis,
const float & angle
)
function dir_float_dist
inline float xdzm::dir_float_dist (
const float & a,
const float & b
)
function float_dist
inline float xdzm::float_dist (
const float & a,
const float & b
)
function get_id_color
inline glm::vec3 xdzm::get_id_color (
const int id
)
function get_random_color
inline glm::vec3 xdzm::get_random_color (
const int id
)
function lookAt
inline glm::mat4 xdzm::lookAt (
const glm::vec3 pos,
const glm::vec3 tar,
const glm::vec3 up
)
function map
inline float xdzm::map (
float inp,
float i_min,
float i_max,
float o_min,
float o_max
)
function map
template<float i_min, float i_max, float o_min, float o_max>
inline float xdzm::map (
float inp
)
function map01_11
template<typename _Ele>
inline _Ele xdzm::map01_11 (
_Ele inp
)
function rand01
inline float xdzm::rand01 ()
function rand11
inline float xdzm::rand11 ()
function rand2
inline glm::vec2 xdzm::rand2 ()
function rand3
inline glm::vec3 xdzm::rand3 ()
function rand3hKernel
inline std::vector< glm::vec3 > xdzm::rand3hKernel (
size_t s
)
function rand3n
inline glm::vec3 xdzm::rand3n (
float r=1.0f
)
function rand3nh
inline glm::vec3 xdzm::rand3nh (
float r=1.0f
)
function rand3nhv
inline std::vector< glm::vec3 > xdzm::rand3nhv (
size_t s
)
function rand3nv
inline std::vector< glm::vec3 > xdzm::rand3nv (
size_t s
)
function rand4
inline glm::vec4 xdzm::rand4 ()
function sin01
inline float xdzm::sin01 (
float in
)
function stdVec3_vec3
inline glm::vec3 xdzm::stdVec3_vec3 (
const std::vector< float > & inp
)
function transpose
inline glm::mat4 xdzm::transpose (
const glm::mat4 _tar
)
function vec3_stdVec3
inline std::vector< float > xdzm::vec3_stdVec3 (
const glm::vec3 & inp
)
function vec3_stdVec6
inline std::vector< float > xdzm::vec3_stdVec6 (
const glm::vec3 & inp,
const glm::vec3 & inp2
)
Public Static Functions Documentation
function _matrix_sum
template<size_t S, typename T>
static float xdzm::_matrix_sum (
const T _m
)
function matrix_diff
static float xdzm::matrix_diff (
const glm::mat4 _m1,
const glm::mat4 _m2
)
The documentation for this class was generated from the following file src/extra/xdz_math.h