Namespaces
Enumerations
enum precision
| Name | Value |
|---|---|
| packed_highp | 0 |
| packed_mediump | 1 |
| packed_lowp | 2 |
| aligned_highp | 3 |
| aligned_mediump | 4 |
| aligned_lowp | 5 |
| aligned | aligned_highp |
| highp | packed_highp |
| mediump | packed_mediump |
| lowp | packed_lowp |
| packed | packed_highp |
| defaultp | highp |
Defined at line 10 of file ../../third_party/glm/glm/detail/precision.hpp
enum ctor
| Name | Value |
|---|---|
| uninitialize | 0 |
Defined at line 827 of file ../../third_party/glm/glm/detail/setup.hpp
Records
Functions
-
template <typename T, precision P, template <typename, precision> class vecType>T length (const vecType<T, P> & x)Returns the length of x, i.e., sqrt(x * x).
Template Parameters
genType Floating-point vector types.Defined at line 140 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename genType>typename genType::row_type row (const genType & m, length_t index)Get a specific row of a matrix.
Defined at line 23 of file ../../third_party/glm/glm/gtc/matrix_access.inl
-
template <typename genType>genType abs (genType x)Returns x if x >= 0; otherwise, it returns -x.
Template Parameters
genType floating-point or signed integer; scalar or vector types.Defined at line 309 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat2x2<T, P> diagonal2x2 (const tvec2<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 7 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename genType>genType epsilon ()Return the epsilon constant for floating point types.
Defined at line 9 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> radians (const vecType<T, P> & degrees)Converts degrees to radians and returns the result.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 20 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>T length2 (const vecType<T, P> & x)Returns the squared length of x.
From GLM_GTX_norm extension.
Defined at line 27 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> abs (const vecType<T, P> & x)Defined at line 315 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> pow (const vecType<T, P> & base, const vecType<T, P> & exponent)Returns 'base' raised to the power 'exponent'.
Parameters
base Floating point value. pow function is defined for input values of 'base' defined in the range (inf-, inf+) in the limit of the type precision.exponent Floating point value representing the 'exponent'.Template Parameters
genType Floating-point scalar or vector types.Defined at line 70 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> lessThan (const vecType<T, P> & x, const vecType<T, P> & y)Returns the component-wise comparison result of x
<
y.
Template Parameters
vecType Floating-point or integer vector types.Defined at line 9 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
uint packUnorm2x16 (const vec2 & v)First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
Then, the results are packed into the returned 32-bit unsigned integer.
The conversion for component c of v to fixed point is done as follows:
packUnorm2x16: round(clamp(c, 0, +1) * 65535.0)
The first component of the vector will be written to the least significant bits of the output;
the last component will be written to the most significant bits.
Defined at line 10 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <precision P, template <typename, precision> class vecType>vecType<uint, P> uaddCarry (const vecType<uint, P> & x, const vecType<uint, P> & y, vecType<uint, P> & carry)Adds 32-bit unsigned integer x and y, returning the sum
modulo pow(2, 32). The value carry is set to 0 if the sum was
less than pow(2, 32), or to 1 otherwise.
Template Parameters
genUType Unsigned integer scalar or vector types.Defined at line 190 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tmat4x4<T, P> translate (const tvec3<T, P> & v)Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.
Defined at line 7 of file ../../third_party/glm/glm/gtx/transform.inl
-
template <typename T, precision P>tmat3x3<T, P> translate (const tmat3x3<T, P> & m, const tvec2<T, P> & v)Builds a translation 3 * 3 matrix created from a vector of 2 components.
Parameters
m Input matrix multiplied by this translation matrix.v Coordinates of a translation vector.Defined at line 11 of file ../../third_party/glm/glm/gtx/matrix_transform_2d.inl
-
template <typename T, precision P>tvec3<T, P> cross (const tquat<T, P> & q, const tvec3<T, P> & v)Compute a cross product between a quaternion and a vector.
Defined at line 16 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> epsilonEqual (const vecType<T, P> & x, const vecType<T, P> & y, const T & epsilon)Returns the component-wise comparison of |x - y|
<
epsilon.
True if this expression is satisfied.
Defined at line 59 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename genType>genType zero ()Return 0.
Defined at line 15 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat2x3<T, P> diagonal2x3 (const tvec2<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 19 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename genType>genType row (const genType & m, length_t index, const typename genType::row_type & x)Set a specific row to a matrix.
Defined at line 7 of file ../../third_party/glm/glm/gtc/matrix_access.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> degrees (const vecType<T, P> & radians)Converts radians to degrees and returns the result.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 35 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType one ()Return 1.
Defined at line 21 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> lessThanEqual (const vecType<T, P> & x, const vecType<T, P> & y)Returns the component-wise comparison of result x
<
= y.
Template Parameters
vecType Floating-point or integer vector types.Defined at line 21 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename genType>typename genType::col_type column (const genType & m, length_t index)Get a specific column of a matrix.
Defined at line 53 of file ../../third_party/glm/glm/gtc/matrix_access.inl
-
template <typename genType>bool epsilonEqual (const genType & x, const genType & y, const genType & epsilon)Returns the component-wise comparison of |x - y|
<
epsilon.
True if this expression is satisfied.
-
template <typename genType>genType radians (genType degrees)radians
Defined at line 12 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P>const T * value_ptr (const tvec2<T, P> & vec)Return the constant address to the data of the vector input.
Defined at line 14 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>T distance (const vecType<T, P> & p0, const vecType<T, P> & p1)Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
Template Parameters
genType Floating-point vector types.Defined at line 157 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>T distance2 (const vecType<T, P> & p0, const vecType<T, P> & p1)Returns the squared distance between p0 and p1, i.e., length2(p0 - p1).
From GLM_GTX_norm extension.
Defined at line 41 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> sign (const vecType<T, P> & x)Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x
<
0.
Template Parameters
genType Floating-point or signed integer; scalar or vector types.Defined at line 333 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat2x4<T, P> diagonal2x4 (const tvec2<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 31 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T, precision P>tmat4x4<T, P> rotate (T angle, const tvec3<T, P> & v)Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians.
Defined at line 13 of file ../../third_party/glm/glm/gtx/transform.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> exp (const vecType<T, P> & v)Returns the natural exponentiation of x, i.e., e^x.
Parameters
v exp function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision.Template Parameters
genType Floating-point scalar or vector types.Defined at line 78 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename T, precision P>tvec3<T, P> cross (const tvec3<T, P> & v, const tquat<T, P> & q)Compute a cross product between a vector and a quaternion.
Defined at line 10 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <>bool epsilonEqual<float> (const float & x, const float & y, const float & epsilon)Defined at line 14 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename T, precision P>tmat3x3<T, P> rotate (const tmat3x3<T, P> & m, T angle)Builds a rotation 3 * 3 matrix created from an angle.
Parameters
m Input matrix multiplied by this translation matrix.angle Rotation angle expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise.Defined at line 22 of file ../../third_party/glm/glm/gtx/matrix_transform_2d.inl
-
template <typename T, precision P>T l1Norm (const tvec3<T, P> & x, const tvec3<T, P> & y)Returns the L1 norm between x and y.
From GLM_GTX_norm extension.
Defined at line 48 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
uint packSnorm2x16 (const vec2 & v)First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
Then, the results are packed into the returned 32-bit unsigned integer.
The conversion for component c of v to fixed point is done as follows:
packSnorm2x16: round(clamp(v, -1, +1) * 32767.0)
The first component of the vector will be written to the least significant bits of the output;
the last component will be written to the most significant bits.
Defined at line 39 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType pi ()Return the pi constant.
Defined at line 27 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat3x2<T, P> diagonal3x2 (const tvec2<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 43 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T, precision P, template <typename, precision> class vecType>T dot (const vecType<T, P> & x, const vecType<T, P> & y)Returns the dot product of x and y, i.e., result = x * y.
Template Parameters
genType Floating-point vector types.Defined at line 171 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <precision P, template <typename, precision> class vecType>vecType<uint, P> usubBorrow (const vecType<uint, P> & x, const vecType<uint, P> & y, vecType<uint, P> & borrow)Subtracts the 32-bit unsigned integer y from x, returning
the difference if non-negative, or pow(2, 32) plus the difference
otherwise. The value borrow is set to 0 if x >= y, or to 1 otherwise.
Template Parameters
genUType Unsigned integer scalar or vector types.Defined at line 211 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tmat4x4<T, P> scale (const tvec3<T, P> & v)Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.
Defined at line 19 of file ../../third_party/glm/glm/gtx/transform.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> floor (const vecType<T, P> & x)Returns a value equal to the nearest integer that is less then or equal to x.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 345 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> greaterThan (const vecType<T, P> & x, const vecType<T, P> & y)Returns the component-wise comparison of result x > y.
Template Parameters
vecType Floating-point or integer vector types.Defined at line 32 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> sin (const vecType<T, P> & angle)The standard trigonometric sine function.
The values returned by this function will range from [-1, 1].
Template Parameters
genType Floating-point scalar or vector types.Defined at line 44 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType two_pi ()Return pi * 2.
Defined at line 33 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename genType>genType column (const genType & m, length_t index, const typename genType::col_type & x)Set a specific column to a matrix.
Defined at line 38 of file ../../third_party/glm/glm/gtc/matrix_access.inl
-
template <typename T, precision P>T l1Norm (const tvec3<T, P> & v)Returns the L1 norm of v.
From GLM_GTX_norm extension.
Defined at line 58 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename T, precision P>tquat<T, P> squad (const tquat<T, P> & q1, const tquat<T, P> & q2, const tquat<T, P> & s1, const tquat<T, P> & s2, const T & h)Compute a point on a path according squad equation.
q1 and q2 are control points; s1 and s2 are intermediate control points.
Defined at line 22 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>tmat3x3<T, P> scale (const tmat3x3<T, P> & m, const tvec2<T, P> & v)Builds a scale 3 * 3 matrix created from a vector of 2 components.
Parameters
m Input matrix multiplied by this translation matrix.v Coordinates of a scale vector.Defined at line 38 of file ../../third_party/glm/glm/gtx/matrix_transform_2d.inl
-
template <typename T, precision P>tmat3x3<T, P> diagonal3x3 (const tvec3<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 55 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> log (const vecType<T, P> & v)Returns the natural logarithm of v, i.e.,
returns the value y which satisfies the equation x = e^y.
Results are undefined if v
<
= 0.
Parameters
v log function is defined for input values of v defined in the range (0, inf+) in the limit of the type precision.Template Parameters
genType Floating-point scalar or vector types.Defined at line 86 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename genType>typename genType::boolType epsilonNotEqual (const genType & x, const genType & y, const typename genType::value_type & epsilon)Returns the component-wise comparison of |x - y|
<
epsilon.
True if this expression is not satisfied.
-
template <typename genType>genType root_pi ()Return square root of pi.
Defined at line 39 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat4x4<T, P> translate (const tmat4x4<T, P> & m, const tvec3<T, P> & v)Builds a translation 4 * 4 matrix created from a vector of 3 components.
Parameters
m Input matrix multiplied by this translation matrix.v Coordinates of a translation vector.Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Code
#include <glm/glm.hpp> #include <glm/gtc/matrix_transform.hpp> ... glm::mat4 m = glm::translate(glm::mat4(1.0f), glm::vec3(1.0f)); // m[0][0] == 1.0f, m[0][1] == 0.0f, m[0][2] == 0.0f, m[0][3] == 0.0f // m[1][0] == 0.0f, m[1][1] == 1.0f, m[1][2] == 0.0f, m[1][3] == 0.0f // m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f // m[3][0] == 1.0f, m[3][1] == 1.0f, m[3][2] == 1.0f, m[3][3] == 1.0fDefined at line 11 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>T l2Norm (const tvec3<T, P> & x, const tvec3<T, P> & y)Returns the L2 norm between x and y.
From GLM_GTX_norm extension.
Defined at line 67 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
uint packUnorm4x8 (const vec4 & v)First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
Then, the results are packed into the returned 32-bit unsigned integer.
The conversion for component c of v to fixed point is done as follows:
packUnorm4x8: round(clamp(c, 0, +1) * 255.0)
The first component of the vector will be written to the least significant bits of the output;
the last component will be written to the most significant bits.
Defined at line 68 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename T, precision P>tvec3<T, P> cross (const tvec3<T, P> & x, const tvec3<T, P> & y)Returns the cross product of x and y.
Template Parameters
valType Floating-point scalar types.Defined at line 179 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> greaterThanEqual (const vecType<T, P> & x, const vecType<T, P> & y)Returns the component-wise comparison of result x >= y.
Template Parameters
vecType Floating-point or integer vector types.Defined at line 43 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename T, precision P>tmat3x4<T, P> diagonal3x4 (const tvec3<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 68 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> trunc (const vecType<T, P> & x)Returns a value equal to the nearest integer to x
whose absolute value is not larger than the absolute value of x.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 352 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> cos (const vecType<T, P> & angle)The standard trigonometric cosine function.
The values returned by this function will range from [-1, 1].
Template Parameters
genType Floating-point scalar or vector types.Defined at line 53 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType half_pi ()Return pi / 2.
Defined at line 45 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat3x3<T, P> shearX (const tmat3x3<T, P> & m, T y)Builds an horizontal (parallel to the x axis) shear 3 * 3 matrix.
Parameters
m Input matrix multiplied by this translation matrix.y Shear factor.Defined at line 50 of file ../../third_party/glm/glm/gtx/matrix_transform_2d.inl
-
template <precision P, template <typename, precision> class vecType>void umulExtended (const vecType<uint, P> & x, const vecType<uint, P> & y, vecType<uint, P> & msb, vecType<uint, P> & lsb)Multiplies 32-bit integers x and y, producing a 64-bit
result. The 32 least-significant bits are returned in lsb.
The 32 most-significant bits are returned in msb.
Template Parameters
genUType Unsigned integer scalar or vector types.Defined at line 230 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tquat<T, P> intermediate (const tquat<T, P> & prev, const tquat<T, P> & curr, const tquat<T, P> & next)Returns an intermediate control point for squad interpolation.
Defined at line 34 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> exp2 (const vecType<T, P> & v)Returns 2 raised to the v power.
Parameters
v exp2 function is defined for input values of v defined in the range (inf-, inf+) in the limit of the type precision.Template Parameters
genType Floating-point scalar or vector types.Defined at line 101 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename T, precision P>T l2Norm (const tvec3<T, P> & x)Returns the L2 norm of v.
From GLM_GTX_norm extension.
Defined at line 77 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename genType>bool epsilonNotEqual (const genType & x, const genType & y, const genType & epsilon)Returns the component-wise comparison of |x - y| >= epsilon.
True if this expression is not satisfied.
-
template <typename genType>genType three_over_two_pi ()Return pi / 2 * 3.
Defined at line 51 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat4x2<T, P> diagonal4x2 (const tvec2<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 108 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> equal (const vecType<T, P> & x, const vecType<T, P> & y)Returns the component-wise comparison of result x == y.
Template Parameters
vecType Floating-point, integer or boolean vector types.Defined at line 54 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename T>tvec2<T, defaultp> make_vec2 (const T *const ptr)Build a vector from a pointer.
Defined at line 297 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> normalize (const vecType<T, P> & x)Returns a vector in the same direction as x but with length of 1.
According to issue 10 GLSL 1.10 specification, if length(x) == 0 then result is undefined and generate an error.
Defined at line 194 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> tan (const vecType<T, P> & angle)The standard trigonometric tangent function.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 62 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType quarter_pi ()Return pi / 4.
Defined at line 57 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat3x3<T, P> shearY (const tmat3x3<T, P> & m, T x)Builds a vertical (parallel to the y axis) shear 3 * 3 matrix.
Parameters
m Input matrix multiplied by this translation matrix.x Shear factor.Defined at line 60 of file ../../third_party/glm/glm/gtx/matrix_transform_2d.inl
-
template <typename T, precision P>T lxNorm (const tvec3<T, P> & x, const tvec3<T, P> & y, unsigned int Depth)Returns the L norm between x and y.
From GLM_GTX_norm extension.
Defined at line 86 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
uint packSnorm4x8 (const vec4 & v)First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
Then, the results are packed into the returned 32-bit unsigned integer.
The conversion for component c of v to fixed point is done as follows:
packSnorm4x8: round(clamp(c, -1, +1) * 127.0)
The first component of the vector will be written to the least significant bits of the output;
the last component will be written to the most significant bits.
Defined at line 99 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename T, precision P>tmat4x3<T, P> diagonal4x3 (const tvec3<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 95 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T, precision P>tquat<T, P> exp (const tquat<T, P> & q)Returns a exp of a quaternion.
Defined at line 46 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>tmat4x4<T, P> rotate (const tmat4x4<T, P> & m, T angle, const tvec3<T, P> & axis)Builds a rotation 4 * 4 matrix created from an axis vector and an angle.
Parameters
m Input matrix multiplied by this rotation matrix.angle Rotation angle expressed in radians.axis Rotation axis, recommended to be normalized.Template Parameters
T Value type used to build the matrix. Supported: half, float or double.Defined at line 19 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename genType>genType length2 (genType x)Defined at line 20 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename T, precision P>T * value_ptr (tvec2<T, P> & vec)Return the address to the data of the vector input.
Defined at line 25 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <>bool epsilonEqual<double> (const double & x, const double & y, const double & epsilon)Defined at line 25 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename genType>genType degrees (genType radians)degrees
Defined at line 27 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <>int32 abs<int> (int32 x)abs
Defined at line 31 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T>T distance2 (T p0, T p1)Defined at line 34 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename T, precision P>const T * value_ptr (const tvec3<T, P> & vec)Return the constant address to the data of the vector input.
Defined at line 36 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <>bool epsilonNotEqual<float> (const float & x, const float & y, const float & epsilon)Defined at line 36 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename T, precision P>T * value_ptr (tvec3<T, P> & vec)Return the address to the data of the vector input.
Defined at line 47 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <>bool epsilonNotEqual<double> (const double & x, const double & y, const double & epsilon)Defined at line 47 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename T, precision P>tmat4x4<T, P> rotate_slow (const tmat4x4<T, P> & m, T angle, const tvec3<T, P> & v)Defined at line 50 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>const T * value_ptr (const tvec4<T, P> & vec)Return the constant address to the data of the vector input.
Defined at line 58 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <>tmat4x4<float, aligned_lowp> outerProduct<float, glm::aligned_lowp, glm::tvec4, glm::tvec4> (const tvec4<float, aligned_lowp> & c, const tvec4<float, aligned_lowp> & r)Defined at line 63 of file ../../third_party/glm/glm/detail/func_matrix_simd.inl
-
template <typename T, precision P>T * value_ptr (tvec4<T, P> & vec)Return the address to the data of the vector input.
From GLM_GTC_type_ptr extension.
Defined at line 69 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> epsilonEqual (const vecType<T, P> & x, const vecType<T, P> & y, const vecType<T, P> & epsilon)Defined at line 70 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <>tmat4x4<float, aligned_mediump> outerProduct<float, glm::aligned_mediump, glm::tvec4, glm::tvec4> (const tvec4<float, aligned_mediump> & c, const tvec4<float, aligned_mediump> & r)Defined at line 71 of file ../../third_party/glm/glm/detail/func_matrix_simd.inl
-
template <>tmat4x4<float, aligned_highp> outerProduct<float, glm::aligned_highp, glm::tvec4, glm::tvec4> (const tvec4<float, aligned_highp> & c, const tvec4<float, aligned_highp> & r)Defined at line 79 of file ../../third_party/glm/glm/detail/func_matrix_simd.inl
-
template <typename T, precision P>const T * value_ptr (const tmat2x2<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 80 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> round (const vecType<T, P> & x)Returns a value equal to the nearest integer to x.
The fraction 0.5 will round in a direction chosen by the
implementation, presumably the direction that is fastest.
This includes the possibility that round(x) returns the
same value as roundEven(x) for all values of x.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 359 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T>tvec3<T, defaultp> make_vec3 (const T *const ptr)Build a vector from a pointer.
Defined at line 307 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> log2 (const vecType<T, P> & v)Returns the base 2 log of x, i.e., returns the value y,
which satisfies the equation x = 2 ^ y.
Parameters
v log2 function is defined for input values of v defined in the range (0, inf+) in the limit of the type precision.Template Parameters
genType Floating-point scalar or vector types.Defined at line 114 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename genType>genType one_over_pi ()Return 1 / pi.
Defined at line 63 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <precision P, template <typename, precision> class vecType>void imulExtended (const vecType<int, P> & x, const vecType<int, P> & y, vecType<int, P> & msb, vecType<int, P> & lsb)Multiplies 32-bit integers x and y, producing a 64-bit
result. The 32 least-significant bits are returned in lsb.
The 32 most-significant bits are returned in msb.
Template Parameters
genIType Signed integer scalar or vector types.Defined at line 250 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> notEqual (const vecType<T, P> & x, const vecType<T, P> & y)Returns the component-wise comparison of result x != y.
Template Parameters
vecType Floating-point, integer or boolean vector types.Defined at line 65 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename T, precision P>tmat4x4<T, P> diagonal4x4 (const tvec4<T, P> & v)Build a diagonal matrix.
From GLM_GTX_matrix_operation extension.
Defined at line 81 of file ../../third_party/glm/glm/gtx/matrix_operation.inl
-
template <typename T>tvec4<T, defaultp> make_vec4 (const T *const ptr)Build a vector from a pointer.
Defined at line 317 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tquat<T, P> log (const tquat<T, P> & q)Returns a log of a quaternion.
Defined at line 58 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>T lxNorm (const tvec3<T, P> & x, unsigned int Depth)Returns the L norm of v.
From GLM_GTX_norm extension.
Defined at line 97 of file ../../third_party/glm/glm/gtx/../gtx/norm.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> faceforward (const vecType<T, P> & N, const vecType<T, P> & I, const vecType<T, P> & Nref)If dot(Nref, I)
<
0.0, return N, otherwise, return -N.
Template Parameters
genType Floating-point vector types.Defined at line 209 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> asin (const vecType<T, P> & x)Arc sine. Returns an angle whose sine is x.
The range of values returned by this function is [-PI/2, PI/2].
Results are undefined if |x| > 1.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 71 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType one_over_two_pi ()Return 1 / (pi * 2).
Defined at line 69 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T>tmat2x2<T, defaultp> make_mat2x2 (const T *const ptr)Build a matrix from a pointer.
Defined at line 327 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
vec2 unpackUnorm2x16 (uint p)First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
The conversion for unpacked fixed-point value f to floating point is done as follows:
unpackUnorm2x16: f / 65535.0
The first component of the returned vector will be extracted from the least significant bits of the input;
the last component will be extracted from the most significant bits.
Defined at line 26 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType two_over_pi ()Return 2 / pi.
Defined at line 75 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat4x4<T, P> scale (const tmat4x4<T, P> & m, const tvec3<T, P> & v)Builds a scale 4 * 4 matrix created from 3 scalars.
Parameters
m Input matrix multiplied by this scale matrix.v Ratio of scaling for each axis.Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 79 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tquat<T, P> pow (const tquat<T, P> & x, const T & y)Returns x raised to the y power.
Defined at line 81 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <precision P, template <typename, precision> class vecType>bool any (const vecType<bool, P> & v)Returns true if any component of x is true.
Template Parameters
vecType Boolean vector types.Defined at line 76 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> sqrt (const vecType<T, P> & v)Returns the positive square root of v.
Parameters
v sqrt function is defined for input values of v defined in the range [0, inf+) in the limit of the type precision.Template Parameters
genType Floating-point scalar or vector types.Defined at line 122 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename T>tmat2x3<T, defaultp> make_mat2x3 (const T *const ptr)Build a matrix from a pointer.
Defined at line 337 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType four_over_pi ()Return 4 / pi.
Defined at line 81 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> acos (const vecType<T, P> & x)Arc cosine. Returns an angle whose sine is x.
The range of values returned by this function is [0, PI].
Results are undefined if |x| > 1.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 80 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> epsilonNotEqual (const vecType<T, P> & x, const vecType<T, P> & y, const T & epsilon)Defined at line 81 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename genType>genType two_over_root_pi ()Return 2 / sqrt(pi).
Defined at line 87 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> epsilonNotEqual (const vecType<T, P> & x, const vecType<T, P> & y, const vecType<T, P> & epsilon)Defined at line 92 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename genType>genType one_over_root_two ()Return 1 / sqrt(2).
Defined at line 93 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename genType>genType exp2 (genType x)exp2, ln2 = 0.69314718055994530941723212145818f
Defined at line 93 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename genType>genType reflect (const genType & I, const genType & N)For the incident vector I and surface orientation N,
returns the reflection direction : result = I - 2.0 * dot(N, I) * N.
Template Parameters
genType Floating-point vector types.Defined at line 216 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T>tmat2x4<T, defaultp> make_mat2x4 (const T *const ptr)Build a matrix from a pointer.
Defined at line 347 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <precision P, template <typename, precision> class vecType>bool all (const vecType<bool, P> & v)Returns true if all components of x are true.
Template Parameters
vecType Boolean vector types.Defined at line 85 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
vec2 unpackSnorm2x16 (uint p)First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
The conversion for unpacked fixed-point value f to floating point is done as follows:
unpackSnorm2x16: clamp(f / 32767.0, -1, +1)
The first component of the returned vector will be extracted from the least significant bits of the input;
the last component will be extracted from the most significant bits.
Defined at line 55 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType atan (genType y, genType x)atan
Defined at line 87 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P>tmat4x4<T, P> scale_slow (const tmat4x4<T, P> & m, const tvec3<T, P> & v)Defined at line 90 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>T * value_ptr (tmat2x2<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 91 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tdualquat<T, P> operator+ (const tdualquat<T, P> & q)-- Unary bit operators --
Defined at line 140 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tdualquat<T, P> operator- (const tdualquat<T, P> & q)Defined at line 146 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> inversesqrt (const vecType<T, P> & v)Returns the reciprocal of the positive square root of v.
Parameters
v inversesqrt function is defined for input values of v defined in the range [0, inf+) in the limit of the type precision.Template Parameters
genType Floating-point scalar or vector types.Defined at line 136 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename T>tmat3x2<T, defaultp> make_mat3x2 (const T *const ptr)Build a matrix from a pointer.
Defined at line 357 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tdualquat<T, P> operator+ (const tdualquat<T, P> & q, const tdualquat<T, P> & p)-- Binary operators --
Defined at line 154 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> bitfieldExtract (const vecType<T, P> & Value, int Offset, int Bits)Extracts bits [offset, offset + bits - 1] from value,
returning them in the least significant bits of the result.
For unsigned data types, the most significant bits of the
result will be set to zero. For signed data types, the
most significant bits will be set to the value of bit offset + base - 1.
If bits is zero, the result will be zero. The result will be
undefined if offset or bits is negative, or if the sum of
offset and bits is greater than the number of bits used
to store the operand.
Template Parameters
T Signed or unsigned integer scalar or vector types.Defined at line 267 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tvec3<T, P> rotate (const tquat<T, P> & q, const tvec3<T, P> & v)Rotates a 3 components vector by a quaternion.
Defined at line 105 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>tdualquat<T, P> operator* (const tdualquat<T, P> & q, const tdualquat<T, P> & p)Defined at line 160 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T>tmat4x4<T, defaultp> ortho (T left, T right, T bottom, T top, T zNear, T zFar)Creates a matrix for an orthographic parallel viewing volume, using the default handedness.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 100 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> atan (const vecType<T, P> & y, const vecType<T, P> & x)Arc tangent. Returns an angle whose tangent is y/x.
The signs of x and y are used to determine what
quadrant the angle is in. The range of values returned
by this function is [-PI, PI]. Results are undefined
if x and y are both 0.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 95 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <precision P, template <typename, precision> class vecType>vecType<bool, P> not_ (const vecType<bool, P> & v)Returns the component-wise logical complement of x.
/!
\
Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.
Template Parameters
vecType Boolean vector types.Defined at line 94 of file ../../third_party/glm/glm/detail/../detail/func_vector_relational.inl
-
template <typename genType>genType root_half_pi ()Return sqrt(pi / 2).
Defined at line 99 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
vec4 unpackUnorm4x8 (uint p)First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
The conversion for unpacked fixed-point value f to floating point is done as follows:
unpackUnorm4x8: f / 255.0
The first component of the returned vector will be extracted from the least significant bits of the input;
the last component will be extracted from the most significant bits.
Defined at line 86 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename T, precision P>const T * value_ptr (const tmat3x3<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 102 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType root_two_pi ()Return sqrt(2 * pi).
Defined at line 105 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> atan (const vecType<T, P> & y_over_x)Arc tangent. Returns an angle whose tangent is y_over_x.
The range of values returned by this function is [-PI/2, PI/2].
Template Parameters
genType Floating-point scalar or vector types.Defined at line 103 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P>tvec4<bool, P> epsilonEqual (const tquat<T, P> & x, const tquat<T, P> & y, const T & epsilon)Defined at line 103 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename genType>genType log2 (genType x)log2, ln2 = 0.69314718055994530941723212145818f
Defined at line 108 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
template <typename T>tmat3x3<T, defaultp> make_mat3x3 (const T *const ptr)Build a matrix from a pointer.
Defined at line 367 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> refract (const vecType<T, P> & I, const vecType<T, P> & N, T eta)For the incident vector I and surface normal N,
and the ratio of indices of refraction eta,
return the refraction vector.
Template Parameters
genType Floating-point vector types.Defined at line 238 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tvec3<T, P> & v, const tdualquat<T, P> & q)Defined at line 174 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tvec4<T, P> rotate (const tquat<T, P> & q, const tvec4<T, P> & v)Rotates a 4 components vector by a quaternion.
Defined at line 111 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>T * value_ptr (tmat3x3<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 113 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tvec4<bool, P> epsilonNotEqual (const tquat<T, P> & x, const tquat<T, P> & y, const T & epsilon)Defined at line 115 of file ../../third_party/glm/glm/gtc/epsilon.inl
-
template <typename T, precision P, template <typename, precision> class matType>matType<T, P> matrixCompMult (const matType<T, P> & x, const matType<T, P> & y)Multiply matrix x by matrix y component-wise, i.e.,
result[i][j] is the scalar product of x[i][j] and y[i][j].
Template Parameters
matType Floating-point matrix types.Defined at line 359 of file ../../third_party/glm/glm/detail/func_matrix.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tdualquat<T, P> & q, const tvec3<T, P> & v)Defined at line 166 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tmat2x3<T, P> operator+ (const tmat2x3<T, P> & m)-- Unary arithmetic operators --
Defined at line 283 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x4<T, P> operator+ (const tmat2x4<T, P> & m)-- Unary arithmetic operators --
Defined at line 284 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator- (const tmat2x3<T, P> & m)Defined at line 289 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator+ (const tmat2x2<T, P> & m)-- Unary arithmetic operators --
Defined at line 297 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tdualquat<T, P> & q, const tvec4<T, P> & v)Defined at line 180 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tmat2x4<T, P> operator- (const tmat2x4<T, P> & m)Defined at line 290 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x2<T, P> operator- (const tmat2x2<T, P> & m)Defined at line 303 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tvec4<T, P> & v, const tdualquat<T, P> & q)Defined at line 186 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tmat3x2<T, P> operator+ (const tmat3x2<T, P> & m)-- Unary arithmetic operators --
Defined at line 323 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x4<T, P> operator+ (const tmat3x4<T, P> & m)-- Unary arithmetic operators --
Defined at line 323 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P, template <typename, precision> class vecTypeA, template <typename, precision> class vecTypeB>typename detail::outerProduct_trait<T, P, vecTypeA, vecTypeB>::type outerProduct (const vecTypeA<T, P> & c, const vecTypeB<T, P> & r)Treats the first parameter c as a column vector
and the second parameter r as a row vector
and does a linear algebraic matrix multiply c * r.
Template Parameters
matType Floating-point matrix types.Defined at line 366 of file ../../third_party/glm/glm/detail/func_matrix.inl
-
template <typename T, precision P>tmat2x3<T, P> operator+ (const tmat2x3<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 299 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename genType>genType root_ln_four ()Return sqrt(ln(4)).
Defined at line 111 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tdualquat<T, P> operator* (const tdualquat<T, P> & q, const T & s)Defined at line 192 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>T extractRealComponent (const tquat<T, P> & q)Extract the real component of a quaternion.
Defined at line 117 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>tmat2x4<T, P> operator+ (const tmat2x4<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 300 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat3x2<T, P> operator- (const tmat3x2<T, P> & m)Defined at line 329 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator+ (const tmat3x3<T, P> & m)-- Unary arithmetic operators --
Defined at line 339 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator- (const tmat3x4<T, P> & m)Defined at line 329 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator+ (const tmat2x3<T, P> & m1, const tmat2x3<T, P> & m2)Defined at line 307 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator+ (const tmat2x2<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 313 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> bitfieldInsert (const vecType<T, P> & Base, const vecType<T, P> & Insert, int Offset, int Bits)Returns the insertion the bits least-significant bits of insert into base.
The result will have bits [offset, offset + bits - 1] taken
from bits [0, bits - 1] of insert, and all other bits taken
directly from the corresponding bits of base. If bits is
zero, the result will simply be base. The result will be
undefined if offset or bits is negative, or if the sum of
offset and bits is greater than the number of bits used to
store the operand.
Template Parameters
T Signed or unsigned integer scalar or vector types.Defined at line 282 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tmat4x2<T, P> operator+ (const tmat4x2<T, P> & m)-- Unary arithmetic operators --
Defined at line 362 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator+ (const tmat4x3<T, P> & m)-- Unary arithmetic operators --
Defined at line 355 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tdualquat<T, P> operator* (const T & s, const tdualquat<T, P> & q)Defined at line 198 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tmat2x4<T, P> operator+ (const tmat2x4<T, P> & m1, const tmat2x4<T, P> & m2)Defined at line 308 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat3x3<T, P> operator- (const tmat3x3<T, P> & m)Defined at line 345 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename genType>genType e ()Return e constant.
Defined at line 117 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat2x3<T, P> operator- (const tmat2x3<T, P> & m, T scalar)Defined at line 315 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator+ (T scalar, const tmat2x2<T, P> & m)Defined at line 321 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T>tmat4x4<T, defaultp> orthoLH (T left, T right, T bottom, T top, T zNear, T zFar)Creates a matrix for an orthographic parallel viewing volume, using left-handedness.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 115 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tmat3x2<T, P> operator+ (const tmat3x2<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 340 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x4<T, P> operator+ (const tmat3x4<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 340 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat4x2<T, P> operator- (const tmat4x2<T, P> & m)Defined at line 368 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator- (const tmat4x3<T, P> & m)Defined at line 361 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tdualquat<T, P> operator/ (const tdualquat<T, P> & q, const T & s)Defined at line 204 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tmat2x4<T, P> operator- (const tmat2x4<T, P> & m, T scalar)Defined at line 316 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
vec4 unpackSnorm4x8 (uint p)First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
The conversion for unpacked fixed-point value f to floating point is done as follows:
unpackSnorm4x8: clamp(f / 127.0, -1, +1)
The first component of the returned vector will be extracted from the least significant bits of the input;
the last component will be extracted from the most significant bits.
Defined at line 117 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> sinh (const vecType<T, P> & angle)Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2
Template Parameters
genType Floating-point scalar or vector types.Defined at line 112 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType euler ()Return Euler's constant.
Defined at line 123 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tmat3x3<T, P> toMat3 (const tquat<T, P> & x)Converts a quaternion to a 3 * 3 matrix.
Defined at line 124 of file ../../third_party/glm/glm/gtx/quaternion.hpp
-
template <typename T, precision P>const T * value_ptr (const tmat4x4<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 124 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType root_two ()Return sqrt(2).
Defined at line 129 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> cosh (const vecType<T, P> & angle)Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2
Template Parameters
genType Floating-point scalar or vector types.Defined at line 121 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType inversesqrt (genType x)inversesqrt
Defined at line 130 of file ../../third_party/glm/glm/detail/../detail/func_exponential.inl
-
double packDouble2x32 (const uvec2 & v)Returns a double-precision value obtained by packing the components of v into a 64-bit value.
If an IEEE 754 Inf or NaN is created, it will not signal, and the resulting floating point value is unspecified.
Otherwise, the bit- level representation of v is preserved.
The first vector component specifies the 32 least significant bits;
the second component specifies the 32 most significant bits.
Defined at line 130 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType root_three ()Return sqrt(3).
Defined at line 135 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>T * value_ptr (tmat4x4<T, P> & mat)Return the address to the data of the matrix input.
From GLM_GTC_type_ptr extension.
Defined at line 135 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType root_five ()Return sqrt(5).
Defined at line 141 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> tanh (const vecType<T, P> & angle)Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
Template Parameters
genType Floating-point scalar or vector types.Defined at line 130 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P>tmat4x4<T, P> toMat4 (const tquat<T, P> & x)Converts a quaternion to a 4 * 4 matrix.
Defined at line 131 of file ../../third_party/glm/glm/gtx/quaternion.hpp
-
template <typename genType>genType length (genType x)length
Defined at line 132 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P>tquat<T, P> toQuat (const tmat3x3<T, P> & x)Converts a 3 * 3 matrix to a quaternion.
Defined at line 138 of file ../../third_party/glm/glm/gtx/quaternion.hpp
-
template <typename T>tmat4x4<T, defaultp> orthoRH (T left, T right, T bottom, T top, T zNear, T zFar)Creates a matrix for an orthographic parallel viewing volume, using right-handedness.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 140 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
uvec2 unpackDouble2x32 (double v)Returns a two-component unsigned integer vector representation of v.
The bit-level representation of v is preserved.
The first component of the vector contains the 32 least significant bits of the double;
the second component consists the 32 most significant bits.
Defined at line 144 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType min (genType x, genType y)Returns y if y
<
x; otherwise, it returns x.
Template Parameters
genType Floating-point or integer; scalar or vector types.Defined at line 15 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename genType>genType ln_two ()Return ln(2).
Defined at line 147 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> asinh (const vecType<T, P> & x)Arc hyperbolic sine; returns the inverse of sinh.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 149 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P>tquat<T, P> shortMix (const tquat<T, P> & x, const tquat<T, P> & y, const T & a)Quaternion interpolation using the rotation short path.
Defined at line 133 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename genType>genType max (genType x, genType y)Returns y if x
<
y; otherwise, it returns x.
Template Parameters
genType Floating-point or integer; scalar or vector types.Defined at line 23 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>T length2 (const tquat<T, P> & q)Returns the squared length of x.
Defined at line 127 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename T, precision P>tquat<T, P> toQuat (const tmat4x4<T, P> & x)Converts a 4 * 4 matrix to a quaternion.
Defined at line 145 of file ../../third_party/glm/glm/gtx/quaternion.hpp
-
template <typename T, precision P>const T * value_ptr (const tmat2x3<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 146 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType distance (const genType & p0, const genType & p1)distance
Defined at line 149 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename genType>genType ln_ten ()Return ln(10).
Defined at line 153 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>T * value_ptr (tmat2x3<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 157 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
uint packHalf2x16 (const vec2 & v)Returns an unsigned integer obtained by converting the components of a two-component floating-point vector
to the 16-bit floating-point representation found in the OpenGL Specification,
and then packing these two 16- bit integers into a 32-bit unsigned integer.
The first vector component specifies the 16 least-significant bits of the result;
the second component specifies the 16 most-significant bits.
Defined at line 157 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType ln_ln_two ()Return ln(ln(2)).
Defined at line 159 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T>T dot (T x, T y)dot
Defined at line 164 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T>tmat4x4<T, defaultp> ortho (T left, T right, T bottom, T top)Creates a matrix for projecting two-dimensional coordinates onto the screen.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 165 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename genType>genType third ()Return 1 / 3.
Defined at line 165 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>const T * value_ptr (const tmat3x2<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 168 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> acosh (const vecType<T, P> & x)Arc hyperbolic cosine; returns the non-negative inverse
of cosh. Results are undefined if x
<
1.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 170 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename T, precision P>tquat<T, P> fastMix (const tquat<T, P> & x, const tquat<T, P> & y, const T & a)Quaternion normalized linear interpolation.
Defined at line 170 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
vec2 unpackHalf2x16 (uint v)Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values,
interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification,
and converting them to 32-bit floating-point values.
The first component of the vector is obtained from the 16 least-significant bits of v;
the second component is obtained from the 16 most-significant bits of v.
Defined at line 171 of file ../../third_party/glm/glm/detail/func_packing.inl
-
template <typename genType>genType two_thirds ()Return 2 / 3.
Defined at line 171 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>tquat<T, P> rotation (const tvec3<T, P> & orig, const tvec3<T, P> & dest)Compute the rotation between two vectors.
param orig vector, needs to be normalized
param dest vector, needs to be normalized
Defined at line 176 of file ../../third_party/glm/glm/gtx/quaternion.inl
-
template <typename genType>genType normalize (const genType & x)normalize
Defined at line 186 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> atanh (const vecType<T, P> & x)Arc hyperbolic tangent; returns the inverse of tanh.
Results are undefined if abs(x) >= 1.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 191 of file ../../third_party/glm/glm/detail/func_trigonometric.inl
-
template <typename genType>genType golden_ratio ()Return the golden ratio constant.
Defined at line 177 of file ../../third_party/glm/glm/gtc/../gtc/constants.inl
-
template <typename T, precision P>T * value_ptr (tmat3x2<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 179 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
uint uaddCarry (const uint & x, const uint & y, uint & Carry)uaddCarry
Defined at line 181 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T>tmat4x4<T, defaultp> frustum (T left, T right, T bottom, T top, T near, T far)Creates a frustum matrix with default handedness.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 181 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>const T * value_ptr (const tmat2x4<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 190 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T>tmat4x4<T, defaultp> frustumLH (T left, T right, T bottom, T top, T near, T far)Creates a left handed frustum matrix.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 196 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
uint usubBorrow (const uint & x, const uint & y, uint & Borrow)usubBorrow
Defined at line 199 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>T * value_ptr (tmat2x4<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 201 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType faceforward (const genType & N, const genType & I, const genType & Nref)faceforward
Defined at line 203 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P>bool operator== (const tdualquat<T, P> & q1, const tdualquat<T, P> & q2)-- Boolean operators --
Defined at line 212 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>const T * value_ptr (const tmat4x2<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 212 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>bool operator!= (const tdualquat<T, P> & q1, const tdualquat<T, P> & q2)Defined at line 218 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
void umulExtended (const uint & x, const uint & y, uint & msb, uint & lsb)umulExtended
Defined at line 220 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> reflect (const vecType<T, P> & I, const vecType<T, P> & N)Defined at line 222 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P>T * value_ptr (tmat4x2<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 223 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType refract (const genType & I, const genType & N, genType eta)refract
Defined at line 229 of file ../../third_party/glm/glm/detail/../detail/func_geometric.inl
-
template <typename T, precision P>const T * value_ptr (const tmat3x4<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 234 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
void imulExtended (int x, int y, int & msb, int & lsb)imulExtended
Defined at line 240 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>T * value_ptr (tmat3x4<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 245 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>const T * value_ptr (const tmat4x3<T, P> & mat)Return the constant address to the data of the matrix input.
Defined at line 256 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genIUType>genIUType bitfieldExtract (genIUType Value, int Offset, int Bits)bitfieldExtract
Defined at line 261 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>T * value_ptr (tmat4x3<T, P> & mat)Return the address to the data of the matrix input.
Defined at line 267 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>const T * value_ptr (const tquat<T, P> & q)Return the constant address to the data of the input parameter.
Defined at line 275 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genIUType>genIUType bitfieldInsert (const genIUType & Base, const genIUType & Insert, int Offset, int Bits)bitfieldInsert
Defined at line 276 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>T * value_ptr (tquat<T, P> & q)Return the address to the data of the quaternion input.
Defined at line 286 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType bitfieldReverse (genType x)bitfieldReverse
Defined at line 292 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tmat2x3<T, P> operator- (const tmat2x3<T, P> & m1, const tmat2x3<T, P> & m2)Defined at line 323 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename genFIType>genFIType sign (genFIType x)sign
fast and works for any type
Defined at line 323 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat2x2<T, P> operator+ (const tmat2x2<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 329 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x2<T, P> operator+ (const tmat3x2<T, P> & m1, const tmat3x2<T, P> & m2)Defined at line 349 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator+ (const tmat3x3<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 356 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator+ (const tmat3x4<T, P> & m1, const tmat3x4<T, P> & m2)Defined at line 349 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat2x4<T, P> operator- (const tmat2x4<T, P> & m1, const tmat2x4<T, P> & m2)Defined at line 324 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator* (const tmat2x3<T, P> & m, T scalar)Defined at line 331 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat4x3<T, P> operator+ (const tmat4x3<T, P> & m, const T & s)-- Binary arithmetic operators --
Defined at line 373 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator- (const tmat2x2<T, P> & m, T scalar)Defined at line 337 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x2<T, P> operator- (const tmat3x2<T, P> & m, T scalar)Defined at line 358 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator+ (T scalar, const tmat3x3<T, P> & m)Defined at line 365 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator- (const tmat3x4<T, P> & m, T scalar)Defined at line 358 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat2x4<T, P> operator* (const tmat2x4<T, P> & m, T scalar)Defined at line 332 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator* (T scalar, const tmat2x3<T, P> & m)Defined at line 339 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator- (T scalar, const tmat2x2<T, P> & m)Defined at line 345 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x2<T, P> operator- (const tmat3x2<T, P> & m1, const tmat3x2<T, P> & m2)Defined at line 367 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator+ (const tmat3x3<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 374 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator- (const tmat3x4<T, P> & m1, const tmat3x4<T, P> & m2)Defined at line 367 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat2x4<T, P> operator* (T scalar, const tmat2x4<T, P> & m)Defined at line 340 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>typename tmat2x3<T, P>::col_type operator* (const tmat2x3<T, P> & m, const typename tmat2x3<T, P>::row_type & v)Defined at line 347 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> bitfieldReverse (const vecType<T, P> & v)Returns the reversal of the bits of value.
The bit numbered n of the result will be taken from bit (bits - 1) - n of value,
where bits is the total number of bits used to represent value.
Template Parameters
T Signed or unsigned integer scalar or vector types.Defined at line 298 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tmat2x2<T, P> operator- (const tmat2x2<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 353 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x2<T, P> operator* (const tmat3x2<T, P> & m, T scalar)Defined at line 376 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x4<T, P> operator* (const tmat3x4<T, P> & m, T scalar)Defined at line 376 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>typename tmat2x4<T, P>::col_type operator* (const tmat2x4<T, P> & m, const typename tmat2x4<T, P>::row_type & v)Defined at line 348 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>typename tmat2x3<T, P>::row_type operator* (const typename tmat2x3<T, P>::col_type & v, const tmat2x3<T, P> & m)Defined at line 359 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator* (const tmat2x2<T, P> & m, T scalar)Defined at line 361 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tquat<T, P> operator+ (const tquat<T, P> & q)-- Unary bit operators --
Defined at line 283 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tdualquat<T, P> normalize (const tdualquat<T, P> & q)-- Operations --
Defined at line 226 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>typename tmat2x4<T, P>::row_type operator* (const typename tmat2x4<T, P>::col_type & v, const tmat2x4<T, P> & m)Defined at line 358 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator* (const tmat2x3<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 370 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator* (T scalar, const tmat2x2<T, P> & m)Defined at line 369 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tquat<T, P> operator- (const tquat<T, P> & q)Defined at line 289 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tmat4x4<T, P> operator* (const tmat2x4<T, P> & m1, const tmat4x2<T, P> & m2)Defined at line 366 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename genType>int bitCount (genType v)Returns the number of bits set to 1 in the binary representation of value.
Template Parameters
T Signed or unsigned integer scalar or vector types.Defined at line 312 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tdualquat<T, P> lerp (const tdualquat<T, P> & x, const tdualquat<T, P> & y, const T & a)Returns the linear interpolation of two dual quaternion.
Defined at line 232 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tquat<T, P> operator+ (const tquat<T, P> & q, const tquat<T, P> & p)-- Binary operators --
Defined at line 297 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tquat<T, P> operator* (const tquat<T, P> & q, const tquat<T, P> & p)Defined at line 303 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tdualquat<T, P> inverse (const tdualquat<T, P> & q)Returns the q inverse.
Defined at line 244 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tquat<T, P> & q, const tvec3<T, P> & v)Defined at line 309 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<int, P> bitCount (const vecType<T, P> & v)Returns the number of bits set to 1 in the binary representation of value.
Template Parameters
T Signed or unsigned integer scalar or vector types.Defined at line 318 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tvec3<T, P> & v, const tquat<T, P> & q)Defined at line 319 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tmat2x4<T, P> mat2x4_cast (const tdualquat<T, P> & x)Converts a quaternion to a 2 * 4 matrix.
Defined at line 252 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tquat<T, P> & q, const tvec4<T, P> & v)Defined at line 325 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tvec4<T, P> & v, const tquat<T, P> & q)Defined at line 331 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tmat3x4<T, P> mat3x4_cast (const tdualquat<T, P> & x)Converts a quaternion to a 3 * 4 matrix.
Defined at line 258 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename genIUType>int findLSB (genIUType x)Returns the bit number of the least significant bit set to
1 in the binary representation of value.
If value is zero, -1 will be returned.
Template Parameters
T Signed or unsigned integer scalar types.Defined at line 332 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tquat<T, P> operator* (const tquat<T, P> & q, const T & s)Defined at line 337 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tquat<T, P> operator* (const T & s, const tquat<T, P> & q)Defined at line 344 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tdualquat<T, P> dualquat_cast (const tmat2x4<T, P> & x)Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion.
Defined at line 294 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P>tquat<T, P> operator/ (const tquat<T, P> & q, const T & s)Defined at line 350 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tdualquat<T, P> dualquat_cast (const tmat3x4<T, P> & x)Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion.
Defined at line 302 of file ../../third_party/glm/glm/gtx/../gtx/dual_quaternion.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<int, P> findLSB (const vecType<T, P> & v)Returns the bit number of the least significant bit set to
1 in the binary representation of value.
If value is zero, -1 will be returned.
Template Parameters
T Signed or unsigned integer scalar types.Defined at line 340 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>bool operator== (const tquat<T, P> & q1, const tquat<T, P> & q2)-- Boolean operators --
Defined at line 359 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>bool operator!= (const tquat<T, P> & q1, const tquat<T, P> & q2)Defined at line 365 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>T length (const tquat<T, P> & q)-- Operations --
Defined at line 373 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec1<T, P> operator+ (const tvec1<T, P> & v)-- Unary constant operators --
Defined at line 299 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename genIUType>int findMSB (genIUType x)Returns the bit number of the most significant bit in the binary representation of value.
For positive integers, the result will be the bit number of the most significant bit set to 1.
For negative integers, the result will be the bit number of the most significant
bit set to 0. For a value of zero or negative one, -1 will be returned.
Template Parameters
T Signed or unsigned integer scalar types.Defined at line 349 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tvec1<T, P> operator- (const tvec1<T, P> & v)Defined at line 305 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator+ (const tvec1<T, P> & v, T scalar)-- Binary arithmetic operators --
Defined at line 314 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator+ (T scalar, const tvec1<T, P> & v)Defined at line 321 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<int, P> findMSB (const vecType<T, P> & v)Returns the bit number of the most significant bit in the binary representation of value.
For positive integers, the result will be the bit number of the most significant bit set to 1.
For negative integers, the result will be the bit number of the most significant
bit set to 0. For a value of zero or negative one, -1 will be returned.
Template Parameters
T Signed or unsigned integer scalar types.Defined at line 357 of file ../../third_party/glm/glm/detail/func_integer.inl
-
template <typename T, precision P>tvec1<T, P> operator+ (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 328 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator- (const tvec1<T, P> & v, T scalar)operator-
Defined at line 336 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator- (T scalar, const tvec1<T, P> & v)Defined at line 343 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator- (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 350 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator* (const tvec1<T, P> & v, T scalar)Defined at line 357 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P, template <typename, precision> class matType>typename matType<T, P>::transpose_type transpose (const matType<T, P> & m)Defined at line 377 of file ../../third_party/glm/glm/detail/func_matrix.inl
-
template <typename genType>genType roundEven (genType x)roundEven
Defined at line 378 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tquat<T, P> cross (const tquat<T, P> & q1, const tquat<T, P> & q2)Defined at line 389 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P, template <typename, precision> class matType>matType<T, P> inverse (const matType<T, P> & m)Return the inverse of a squared matrix.
Template Parameters
valType Floating-point scalar types.Defined at line 391 of file ../../third_party/glm/glm/detail/func_matrix.inl
-
template <template <typename, precision> class matType, typename T, precision P>std::string to_string (const matType<T, P> & x)Create a string from a GLM vector or matrix typed variable.
Defined at line 453 of file ../../third_party/glm/glm/gtx/string_cast.inl
-
template <typename genType>const typename genType::value_type * value_ptr (const genType & vec)Return the constant address to the data of the input parameter.
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> roundEven (const vecType<T, P> & x)Returns a value equal to the nearest integer to x.
A fractional part of 0.5 will round toward the nearest even
integer. (Both 3.5 and 4.5 for x will return 4.0.)
Template Parameters
genType Floating-point scalar or vector types.Defined at line 409 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> ceil (const vecType<T, P> & x)Returns a value equal to the nearest integer
that is greater than or equal to x.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 418 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename genType>genType fract (genType x)Return x - floor(x).
Template Parameters
genType Floating-point scalar or vector types.Defined at line 426 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> fract (const vecType<T, P> & x)Defined at line 432 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T>tmat3x4<T, defaultp> make_mat3x4 (const T *const ptr)Build a matrix from a pointer.
Defined at line 377 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T>tmat4x2<T, defaultp> make_mat4x2 (const T *const ptr)Build a matrix from a pointer.
Defined at line 387 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename genType>genType mod (genType x, genType y)Modulus. Returns x - y * floor(x / y)
for each component in x using the floating point value y.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 440 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T>tmat4x3<T, defaultp> make_mat4x3 (const T *const ptr)Build a matrix from a pointer.
Defined at line 397 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> mod (const vecType<T, P> & x, T y)Defined at line 452 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat4x4<T, P> operator+ (const tmat4x4<T, P> & m)-- Unary constant operators --
Defined at line 403 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> mod (const vecType<T, P> & x, const vecType<T, P> & y)Defined at line 458 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T>tmat4x4<T, defaultp> make_mat4x4 (const T *const ptr)Build a matrix from a pointer.
Defined at line 407 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tmat4x4<T, P> operator- (const tmat4x4<T, P> & m)Defined at line 409 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat4x2<T, P> operator+ (const tmat4x2<T, P> & m, T scalar)-- Binary arithmetic operators --
Defined at line 380 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T>tmat2x2<T, defaultp> make_mat2 (const T *const ptr)Build a matrix from a pointer.
Defined at line 417 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tmat4x2<T, P> operator+ (const tmat4x2<T, P> & m1, const tmat4x2<T, P> & m2)Defined at line 390 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator+ (const tmat4x3<T, P> & m1, const tmat4x3<T, P> & m2)Defined at line 383 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator+ (const tmat4x4<T, P> & m, const T & s)-- Binary arithmetic operators --
Defined at line 421 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat4x2<T, P> operator- (const tmat4x2<T, P> & m, T scalar)Defined at line 400 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator- (const tmat4x3<T, P> & m, const T & s)Defined at line 393 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator+ (const T & s, const tmat4x4<T, P> & m)Defined at line 431 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T>tmat3x3<T, defaultp> make_mat3 (const T *const ptr)Build a matrix from a pointer.
Defined at line 425 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tmat3x3<T, P> operator- (const tmat3x3<T, P> & m, T scalar)Defined at line 383 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P, template <typename, precision> class matType>T determinant (const matType<T, P> & m)Return the determinant of a squared matrix.
Template Parameters
valType Floating-point scalar types.Defined at line 384 of file ../../third_party/glm/glm/detail/func_matrix.inl
-
template <typename genType>genType modf (genType x, genType & i)Returns the fractional part of x and sets i to the integer
part (as a whole number floating point value). Both the
return value and the output parameter will have the same
sign as x.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 465 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat4x2<T, P> operator- (const tmat4x2<T, P> & m1, const tmat4x2<T, P> & m2)Defined at line 410 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator- (const tmat4x3<T, P> & m1, const tmat4x3<T, P> & m2)Defined at line 403 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator+ (const tmat4x4<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 441 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat3x2<T, P> operator* (T scalar, const tmat3x2<T, P> & m)Defined at line 385 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator- (T scalar, const tmat3x3<T, P> & m)Defined at line 392 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator* (T scalar, const tmat3x4<T, P> & m)Defined at line 385 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T>tmat4x4<T, defaultp> make_mat4 (const T *const ptr)Build a matrix from a pointer.
Defined at line 433 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tmat4x2<T, P> operator* (const tmat4x2<T, P> & m, T scalar)Defined at line 420 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator* (const tmat4x3<T, P> & m, const T & s)Defined at line 413 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator- (const tmat4x4<T, P> & m, const T & s)Defined at line 451 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>typename tmat3x2<T, P>::col_type operator* (const tmat3x2<T, P> & m, const typename tmat3x2<T, P>::row_type & v)Defined at line 394 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator- (const tmat3x3<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 401 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>typename tmat3x4<T, P>::col_type operator* (const tmat3x4<T, P> & m, const typename tmat3x4<T, P>::row_type & v)Defined at line 394 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat3x3<T, P> operator* (const tmat2x3<T, P> & m1, const tmat3x2<T, P> & m2)Defined at line 382 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat4x2<T, P> operator* (T scalar, const tmat4x2<T, P> & m)Defined at line 430 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator* (const T & s, const tmat4x3<T, P> & m)Defined at line 423 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator- (const T & s, const tmat4x4<T, P> & m)Defined at line 461 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>typename tmat2x2<T, P>::col_type operator* (const tmat2x2<T, P> & m, const typename tmat2x2<T, P>::row_type & v)Defined at line 377 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>typename tmat3x2<T, P>::row_type operator* (const typename tmat3x2<T, P>::col_type & v, const tmat3x2<T, P> & m)Defined at line 402 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator* (const tmat3x3<T, P> & m, T scalar)Defined at line 410 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>typename tmat3x4<T, P>::row_type operator* (const typename tmat3x4<T, P>::col_type & v, const tmat3x4<T, P> & m)Defined at line 408 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T>tquat<T, defaultp> make_quat (const T *const ptr)Build a quaternion from a pointer.
Defined at line 441 of file ../../third_party/glm/glm/gtc/type_ptr.inl
-
template <typename T, precision P>tmat2x4<T, P> operator* (const tmat2x4<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 407 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat4x3<T, P> operator* (const tmat2x3<T, P> & m1, const tmat4x2<T, P> & m2)Defined at line 412 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>typename tmat4x2<T, P>::col_type operator* (const tmat4x2<T, P> & m, const typename tmat4x2<T, P>::row_type & v)Defined at line 440 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>typename tmat4x3<T, P>::col_type operator* (const tmat4x3<T, P> & m, const typename tmat4x3<T, P>::row_type & v)Defined at line 433 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator- (const tmat4x4<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 471 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>typename tmat2x2<T, P>::row_type operator* (const typename tmat2x2<T, P>::col_type & v, const tmat2x2<T, P> & m)Defined at line 389 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat2x2<T, P> operator* (const tmat3x2<T, P> & m1, const tmat2x3<T, P> & m2)Defined at line 411 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator* (T scalar, const tmat3x3<T, P> & m)Defined at line 419 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator* (const tmat3x4<T, P> & m1, const tmat4x3<T, P> & m2)Defined at line 421 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> min (const vecType<T, P> & x, T y)min
Defined at line 515 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat3x4<T, P> operator* (const tmat2x4<T, P> & m1, const tmat3x2<T, P> & m2)Defined at line 421 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator/ (const tmat2x3<T, P> & m, T scalar)Defined at line 430 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>typename tmat4x2<T, P>::row_type operator* (const typename tmat4x2<T, P>::col_type & v, const tmat4x2<T, P> & m)Defined at line 448 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>typename tmat4x3<T, P>::row_type operator* (const typename tmat4x3<T, P>::col_type & v, const tmat4x3<T, P> & m)Defined at line 445 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator* (const tmat4x4<T, P> & m, const T & s)Defined at line 481 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat2x2<T, P> operator* (const tmat2x2<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 401 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x2<T, P> operator* (const tmat3x2<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 436 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>typename tmat3x3<T, P>::col_type operator* (const tmat3x3<T, P> & m, const typename tmat3x3<T, P>::row_type & v)Defined at line 428 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat2x4<T, P> operator* (const tmat3x4<T, P> & m1, const tmat2x3<T, P> & m2)Defined at line 470 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> min (const vecType<T, P> & x, const vecType<T, P> & y)Defined at line 522 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tmat2x4<T, P> operator/ (const tmat2x4<T, P> & m, T scalar)Defined at line 439 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat2x3<T, P> operator/ (T scalar, const tmat2x3<T, P> & m)Defined at line 438 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat2x2<T, P> operator* (const tmat4x2<T, P> & m1, const tmat2x4<T, P> & m2)Defined at line 458 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat2x3<T, P> operator* (const tmat4x3<T, P> & m1, const tmat2x4<T, P> & m2)Defined at line 458 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator* (const T & s, const tmat4x4<T, P> & m)Defined at line 491 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat3x2<T, P> operator* (const tmat2x2<T, P> & m1, const tmat3x2<T, P> & m2)Defined at line 411 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat4x2<T, P> operator* (const tmat3x2<T, P> & m1, const tmat4x3<T, P> & m2)Defined at line 448 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>typename tmat3x3<T, P>::row_type operator* (const typename tmat3x3<T, P>::col_type & v, const tmat3x3<T, P> & m)Defined at line 437 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator* (const tmat3x4<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 484 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat2x4<T, P> operator/ (T scalar, const tmat2x4<T, P> & m)Defined at line 447 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat3x2<T, P> operator* (const tmat4x2<T, P> & m1, const tmat3x4<T, P> & m2)Defined at line 487 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator* (const tmat4x3<T, P> & m1, const tmat3x4<T, P> & m2)Defined at line 470 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>typename tmat4x4<T, P>::col_type operator* (const tmat4x4<T, P> & m, const typename tmat4x4<T, P>::row_type & v)Defined at line 501 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat4x2<T, P> operator* (const tmat2x2<T, P> & m1, const tmat4x2<T, P> & m2)Defined at line 423 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x2<T, P> operator/ (const tmat3x2<T, P> & m, T scalar)Defined at line 462 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator* (const tmat3x3<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 446 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator/ (const tmat3x4<T, P> & m, T scalar)Defined at line 502 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>bool operator== (const tmat2x3<T, P> & m1, const tmat2x3<T, P> & m2)-- Boolean operators --
Defined at line 448 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat4x2<T, P> operator* (const tmat4x2<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 499 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator* (const tmat4x3<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 512 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>typename tmat4x4<T, P>::row_type operator* (const typename tmat4x4<T, P>::col_type & v, const tmat4x4<T, P> & m)Defined at line 549 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat2x2<T, P> operator/ (const tmat2x2<T, P> & m, T scalar)Defined at line 437 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>bool operator== (const tmat2x4<T, P> & m1, const tmat2x4<T, P> & m2)-- Boolean operators --
Defined at line 457 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat3x2<T, P> operator/ (T scalar, const tmat3x2<T, P> & m)Defined at line 471 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>tmat2x3<T, P> operator* (const tmat3x3<T, P> & m1, const tmat2x3<T, P> & m2)Defined at line 482 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator/ (T scalar, const tmat3x4<T, P> & m)Defined at line 511 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>bool operator!= (const tmat2x3<T, P> & m1, const tmat2x3<T, P> & m2)Defined at line 454 of file ../../third_party/glm/glm/detail/../detail/type_mat2x3.inl
-
template <typename T, precision P>tmat4x2<T, P> operator/ (const tmat4x2<T, P> & m, T scalar)Defined at line 513 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator/ (const tmat4x3<T, P> & m, const T & s)Defined at line 530 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat2x4<T, P> operator* (const tmat4x4<T, P> & m1, const tmat2x4<T, P> & m2)Defined at line 563 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat2x2<T, P> operator/ (T scalar, const tmat2x2<T, P> & m)Defined at line 445 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>bool operator!= (const tmat2x4<T, P> & m1, const tmat2x4<T, P> & m2)Defined at line 463 of file ../../third_party/glm/glm/detail/../detail/type_mat2x4.inl
-
template <typename T, precision P>tmat4x3<T, P> operator* (const tmat3x3<T, P> & m1, const tmat4x3<T, P> & m2)Defined at line 494 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> max (const vecType<T, P> & x, T y)max
Defined at line 529 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>bool operator== (const tmat3x2<T, P> & m1, const tmat3x2<T, P> & m2)-- Boolean operators --
Defined at line 482 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>bool operator== (const tmat3x4<T, P> & m1, const tmat3x4<T, P> & m2)-- Boolean operators --
Defined at line 522 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat4x2<T, P> operator/ (T scalar, const tmat4x2<T, P> & m)Defined at line 523 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>tmat4x3<T, P> operator/ (const T & s, const tmat4x3<T, P> & m)Defined at line 540 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat3x4<T, P> operator* (const tmat4x4<T, P> & m1, const tmat3x4<T, P> & m2)Defined at line 577 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>typename tmat2x2<T, P>::col_type operator/ (const tmat2x2<T, P> & m, const typename tmat2x2<T, P>::row_type & v)Defined at line 453 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator/ (const tmat3x3<T, P> & m, T scalar)Defined at line 512 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> max (const vecType<T, P> & x, const vecType<T, P> & y)Defined at line 536 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>bool operator!= (const tmat3x2<T, P> & m1, const tmat3x2<T, P> & m2)Defined at line 488 of file ../../third_party/glm/glm/detail/../detail/type_mat3x2.inl
-
template <typename T, precision P>bool operator!= (const tmat3x4<T, P> & m1, const tmat3x4<T, P> & m2)Defined at line 528 of file ../../third_party/glm/glm/detail/../detail/type_mat3x4.inl
-
template <typename T, precision P>tmat4x4<T, P> operator* (const tmat4x4<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 595 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>typename tmat2x2<T, P>::row_type operator/ (const typename tmat2x2<T, P>::col_type & v, const tmat2x2<T, P> & m)Defined at line 459 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>tmat3x3<T, P> operator/ (T scalar, const tmat3x3<T, P> & m)Defined at line 521 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>bool operator== (const tmat4x2<T, P> & m1, const tmat4x2<T, P> & m2)-- Boolean operators --
Defined at line 535 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>bool operator== (const tmat4x3<T, P> & m1, const tmat4x3<T, P> & m2)-- Boolean operators --
Defined at line 552 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator/ (const tmat4x4<T, P> & m, const T & s)Defined at line 616 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat2x2<T, P> operator/ (const tmat2x2<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 465 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P>typename tmat3x3<T, P>::col_type operator/ (const tmat3x3<T, P> & m, const typename tmat3x3<T, P>::row_type & v)Defined at line 530 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>bool operator!= (const tmat4x2<T, P> & m1, const tmat4x2<T, P> & m2)Defined at line 541 of file ../../third_party/glm/glm/detail/../detail/type_mat4x2.inl
-
template <typename T, precision P>bool operator!= (const tmat4x3<T, P> & m1, const tmat4x3<T, P> & m2)Defined at line 558 of file ../../third_party/glm/glm/detail/../detail/type_mat4x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator/ (const T & s, const tmat4x4<T, P> & m)Defined at line 626 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>typename tmat3x3<T, P>::row_type operator/ (const typename tmat3x3<T, P>::col_type & v, const tmat3x3<T, P> & m)Defined at line 536 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>bool operator== (const tmat2x2<T, P> & m1, const tmat2x2<T, P> & m2)-- Boolean operators --
Defined at line 474 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename genType>genType clamp (genType x, genType minVal, genType maxVal)Returns min(max(x, minVal), maxVal) for each component in x
using the floating-point values minVal and maxVal.
Template Parameters
genType Floating-point or integer; scalar or vector types.Defined at line 543 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>typename tmat4x4<T, P>::col_type operator/ (const tmat4x4<T, P> & m, const typename tmat4x4<T, P>::row_type & v)Defined at line 636 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tmat3x3<T, P> operator/ (const tmat3x3<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 542 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>bool operator!= (const tmat2x2<T, P> & m1, const tmat2x2<T, P> & m2)Defined at line 480 of file ../../third_party/glm/glm/detail/type_mat2x2.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> clamp (const vecType<T, P> & x, T minVal, T maxVal)Defined at line 550 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>typename tmat4x4<T, P>::row_type operator/ (const typename tmat4x4<T, P>::col_type & v, const tmat4x4<T, P> & m)Defined at line 642 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> clamp (const vecType<T, P> & x, const vecType<T, P> & minVal, const vecType<T, P> & maxVal)Defined at line 557 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>bool operator== (const tmat3x3<T, P> & m1, const tmat3x3<T, P> & m2)-- Boolean operators --
Defined at line 551 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>tmat4x4<T, P> operator/ (const tmat4x4<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 648 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>bool operator!= (const tmat3x3<T, P> & m1, const tmat3x3<T, P> & m2)Defined at line 557 of file ../../third_party/glm/glm/detail/../detail/type_mat3x3.inl
-
template <typename T, precision P>bool operator== (const tmat4x4<T, P> & m1, const tmat4x4<T, P> & m2)-- Boolean operators --
Defined at line 657 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tquat<T, P> normalize (const tquat<T, P> & q)Returns the normalized quaternion.
Defined at line 379 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>bool operator!= (const tmat4x4<T, P> & m1, const tmat4x4<T, P> & m2)Defined at line 663 of file ../../third_party/glm/glm/detail/../detail/type_mat4x4.inl
-
template <typename T, precision P>tquat<T, P> mix (const tquat<T, P> & x, const tquat<T, P> & y, T a)// (x * sin(1 - a) * angle / sin(angle)) + (y * sin(a) * angle / sin(angle))
template
<typename
T, precision P>
GLM_FUNC_QUALIFIER tquat
<T
, P> mix(tquat
<T
, P> const
&
x, tquat
<T
, P> const
&
y, T const
&
a)
{
if(a
<
= T(0)) return x;
if(a >= T(1)) return y;
float fCos = dot(x, y);
tquat
<T
, P> y2(y); //BUG!!! tquat
<T
, P> y2;
if(fCos
<
T(0))
{
y2 = -y;
fCos = -fCos;
}
//if(fCos > 1.0f) // problem
float k0, k1;
if(fCos > T(0.9999))
{
k0 = T(1) - a;
k1 = T(0) + a; //BUG!!! 1.0f + a;
}
else
{
T fSin = sqrt(T(1) - fCos * fCos);
T fAngle = atan(fSin, fCos);
T fOneOverSin = static_cast
<T
>(1) / fSin;
k0 = sin((T(1) - a) * fAngle) * fOneOverSin;
k1 = sin((T(0) + a) * fAngle) * fOneOverSin;
}
return tquat
<T
, P>(
k0 * x.w + k1 * y2.w,
k0 * x.x + k1 * y2.x,
k0 * x.y + k1 * y2.y,
k0 * x.z + k1 * y2.z);
}
template
<typename
T, precision P>
GLM_FUNC_QUALIFIER tquat
<T
, P> mix2
(
tquat
<T
, P> const
&
x,
tquat
<T
, P> const
&
y,
T const
&
a
)
{
bool flip = false;
if(a
<
= static_cast
<T
>(0)) return x;
if(a >= static_cast
<T
>(1)) return y;
T cos_t = dot(x, y);
if(cos_t
<
T(0))
{
cos_t = -cos_t;
flip = true;
}
T alpha(0), beta(0);
if(T(1) - cos_t
<
1e-7)
beta = static_cast
<T
>(1) - alpha;
else
{
T theta = acos(cos_t);
T sin_t = sin(theta);
beta = sin(theta * (T(1) - alpha)) / sin_t;
alpha = sin(alpha * theta) / sin_t;
}
if(flip)
alpha = -alpha;
return normalize(beta * x + alpha * y);
}
Defined at line 475 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator+ (const tvec2<T, P> & v)-- Unary arithmetic operators --
Defined at line 444 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator* (T scalar, const tvec1<T, P> & v)Defined at line 364 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator- (const tvec2<T, P> & v)Defined at line 450 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T>tmat4x4<T, defaultp> frustumRH (T left, T right, T bottom, T top, T near, T far)Creates a right handed frustum matrix.
Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 222 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec1<T, P> operator* (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 371 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator+ (const tvec2<T, P> & v, T scalar)-- Binary arithmetic operators --
Defined at line 460 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tquat<T, P> lerp (const tquat<T, P> & x, const tquat<T, P> & y, T a)Linear interpolation of two quaternions.
The interpolation is oriented.
Parameters
x A quaterniony A quaterniona Interpolation factor. The interpolation is defined in the range [0, 1].Template Parameters
T Value type used to build the quaternion. Supported: half, float or double.Defined at line 498 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec1<T, P> operator/ (const tvec1<T, P> & v, T scalar)Defined at line 378 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator+ (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 468 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator/ (T scalar, const tvec1<T, P> & v)Defined at line 385 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator+ (T scalar, const tvec2<T, P> & v)Defined at line 476 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator/ (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 392 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, typename U, precision P, template <typename, precision> class vecType>vecType<T, P> mix (const vecType<T, P> & x, const vecType<T, P> & y, const vecType<U, P> & a)If genTypeU is a floating scalar or vector:
Returns x * (1.0 - a) + y * a, i.e., the linear blend of
x and y using the floating-point value a.
The value for a is not restricted to the range [0, 1].
If genTypeU is a boolean scalar or vector:
Selects which vector each returned component comes
from. For a component of
that is false, the
corresponding component of x is returned. For a
component of a that is true, the corresponding
component of y is returned. Components of x and y that
are not selected are allowed to be invalid floating point
values and will have no effect on the results. Thus, this
provides different functionality than
genType mix(genType x, genType y, genType(a))
where a is a Boolean vector.
Parameters
x [in] Value to interpolate.y [in] Value to interpolate.a [in] Interpolant.Template Parameters
genTypeT Floating point scalar or vector.genTypeU Floating point or boolean scalar or vector. It can't be a vector if it is the length of genTypeT.Code
#include <glm/glm.hpp> ... float a; bool b; glm::dvec3 e; glm::dvec3 f; glm::vec4 g; glm::vec4 h; ... glm::vec4 r = glm::mix(g, h, a); // Interpolate with a floating-point scalar two vectors. glm::vec4 s = glm::mix(g, h, b); // Teturns g or h; glm::dvec3 t = glm::mix(e, f, a); // Types of the third parameter is not required to match with the first and the second. glm::vec4 u = glm::mix(g, h, r); // Interpolations can be perform per component with a vector for the last parameter.Defined at line 576 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator+ (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 484 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator% (const tvec1<T, P> & v, T scalar)-- Binary bit operators --
Defined at line 401 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, typename U, precision P, template <typename, precision> class vecType>vecType<T, P> mix (const vecType<T, P> & x, const vecType<T, P> & y, U a)Defined at line 570 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tquat<T, P> slerp (const tquat<T, P> & x, const tquat<T, P> & y, T a)Spherical linear interpolation of two quaternions.
The interpolation always take the short path and the rotation is performed at constant speed.
Parameters
x A quaterniony A quaterniona Interpolation factor. The interpolation is defined beyond the range [0, 1].Template Parameters
T Value type used to build the quaternion. Supported: half, float or double.Defined at line 508 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator+ (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 492 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator% (T scalar, const tvec1<T, P> & v)Defined at line 408 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec3<T, P> operator+ (const tvec3<T, P> & v)-- Unary arithmetic operators --
Defined at line 520 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T>tmat4x4<T, defaultp> perspective (T fovy, T aspect, T near, T far)Creates a matrix for a symetric perspective-view frustum based on the default handedness.
Parameters
fovy Specifies the field of view angle in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).far Specifies the distance from the viewer to the far clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 248 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename genTypeT, typename genTypeU>genTypeT mix (genTypeT x, genTypeT y, genTypeU a)Defined at line 564 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator- (const tvec2<T, P> & v, T scalar)Defined at line 500 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator% (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 415 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec3<T, P> operator- (const tvec3<T, P> & v)Defined at line 526 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tquat<T, P> conjugate (const tquat<T, P> & q)Returns the q conjugate.
Defined at line 202 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator- (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 508 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec1<T, P> operator& (const tvec1<T, P> & v, T scalar)Defined at line 422 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename genType>genType step (genType edge, genType x)Returns 0.0 if x
<
edge, otherwise it returns 1.0 for each component of a genType.
Defined at line 583 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator- (T scalar, const tvec2<T, P> & v)Defined at line 516 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator+ (const tvec3<T, P> & v, T scalar)-- Binary arithmetic operators --
Defined at line 537 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec1<T, P> operator& (T scalar, const tvec1<T, P> & v)Defined at line 429 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tquat<T, P> inverse (const tquat<T, P> & q)Returns the q inverse.
Defined at line 208 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec1<T, P> operator& (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 436 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator| (const tvec1<T, P> & v, T scalar)Defined at line 443 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T>tmat4x4<T, defaultp> perspectiveRH (T fovy, T aspect, T near, T far)Creates a matrix for a right handed, symetric perspective-view frustum.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).far Specifies the distance from the viewer to the far clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 258 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec1<T, P> operator| (T scalar, const tvec1<T, P> & v)Defined at line 450 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator| (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 457 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator^ (const tvec1<T, P> & v, T scalar)Defined at line 464 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator^ (T scalar, const tvec1<T, P> & v)Defined at line 471 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec1<T, P> operator^ (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 478 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T>tmat4x4<T, defaultp> perspectiveLH (T fovy, T aspect, T near, T far)Creates a matrix for a left handed, symetric perspective-view frustum.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).far Specifies the distance from the viewer to the far clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 281 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T>tmat4x4<T, defaultp> perspectiveFov (T fov, T width, T height, T near, T far)Builds a perspective projection matrix based on a field of view and the default handedness.
Parameters
fov Expressed in radians.near Specifies the distance from the viewer to the near clipping plane (always positive).far Specifies the distance from the viewer to the far clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 304 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec1<T, P> modf (const tvec1<T, P> & x, tvec1<T, P> & i)Defined at line 472 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> modf (const tvec2<T, P> & x, tvec2<T, P> & i)Defined at line 479 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> modf (const tvec3<T, P> & x, tvec3<T, P> & i)Defined at line 487 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec4<T, P> modf (const tvec4<T, P> & x, tvec4<T, P> & i)Defined at line 496 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator- (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 524 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator+ (const tvec3<T, P> & v, const tvec1<T, P> & scalar)Defined at line 546 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec2<T, P> operator- (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 532 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator+ (T scalar, const tvec3<T, P> & v)Defined at line 555 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <template <typename, precision> class vecType, typename T, precision P>vecType<T, P> step (T edge, const vecType<T, P> & x)Returns 0.0 if x
<
edge, otherwise it returns 1.0.
Defined at line 589 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator* (const tvec2<T, P> & v, T scalar)Defined at line 540 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator+ (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 564 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec2<T, P> operator* (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 548 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator+ (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 573 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tquat<T, P> rotate (const tquat<T, P> & q, const T & angle, const tvec3<T, P> & axis)Rotates a quaternion from a vector of 3 components axis and an angle.
Parameters
q Source orientationangle Angle expressed in radians.axis Axis of the rotationDefined at line 541 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <template <typename, precision> class vecType, typename T, precision P>vecType<T, P> step (const vecType<T, P> & edge, const vecType<T, P> & x)Returns 0.0 if x
<
edge, otherwise it returns 1.0.
Defined at line 595 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator* (T scalar, const tvec2<T, P> & v)Defined at line 556 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator- (const tvec3<T, P> & v, T scalar)Defined at line 582 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec2<T, P> operator* (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 564 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator- (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 591 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec3<T, P> eulerAngles (const tquat<T, P> & x)Returns euler angles, pitch as x, yaw as y, roll as z.
The result is expressed in radians if GLM_FORCE_RADIANS is defined or degrees otherwise.
Defined at line 563 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator* (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 572 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator- (T scalar, const tvec3<T, P> & v)Defined at line 600 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec2<T, P> operator/ (const tvec2<T, P> & v, T scalar)Defined at line 580 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator- (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 609 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec1<T, P> operator<< (const tvec1<T, P> & v, T scalar)Defined at line 485 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>T roll (const tquat<T, P> & x)Returns roll value of euler angles expressed in radians.
Defined at line 569 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator/ (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 588 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator- (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 618 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec1<T, P> operator<< (T scalar, const tvec1<T, P> & v)Defined at line 492 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator/ (T scalar, const tvec2<T, P> & v)Defined at line 596 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tvec3<T, P> & v, T scalar)Defined at line 627 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename genType>genType smoothstep (genType edge0, genType edge1, genType x)Returns 0.0 if x
<
= edge0 and 1.0 if x >= edge1 and
performs smooth Hermite interpolation between 0 and 1
when edge0
<
x
<
edge1. This is useful in cases where
you would want a threshold function with a smooth
transition. This is equivalent to:
genType t;
t = clamp ((x - edge0) / (edge1 - edge0), 0, 1);
return t * t * (3 - 2 * t);
Results are undefined if edge0 >= edge1.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 602 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec1<T, P> operator<< (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 499 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>T pitch (const tquat<T, P> & x)Returns pitch value of euler angles expressed in radians.
Defined at line 575 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator/ (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 604 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 636 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> smoothstep (T edge0, T edge1, const vecType<T, P> & x)Defined at line 611 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec1<T, P> operator>> (const tvec1<T, P> & v, T scalar)Defined at line 506 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator/ (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 612 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator* (T scalar, const tvec3<T, P> & v)Defined at line 645 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<T, P> smoothstep (const vecType<T, P> & edge0, const vecType<T, P> & edge1, const vecType<T, P> & x)Defined at line 617 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec1<T, P> operator>> (T scalar, const tvec1<T, P> & v)Defined at line 513 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec4<T, P> operator+ (const tvec4<T, P> & v)-- Unary constant operators --
Defined at line 619 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>T yaw (const tquat<T, P> & x)Returns yaw value of euler angles expressed in radians.
Defined at line 581 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator% (const tvec2<T, P> & v, T scalar)-- Binary bit operators --
Defined at line 622 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 654 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec1<T, P> operator>> (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 520 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec4<T, P> operator- (const tvec4<T, P> & v)Defined at line 625 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator% (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 630 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator* (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 663 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec1<T, P> operator~ (const tvec1<T, P> & v)Defined at line 527 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tmat3x3<T, P> mat3_cast (const tquat<T, P> & x)Converts a quaternion to a 3 * 3 matrix.
Defined at line 587 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator% (T scalar, const tvec2<T, P> & v)Defined at line 638 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator/ (const tvec3<T, P> & v, T scalar)Defined at line 672 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator+ (const tvec4<T, P> & v, T scalar)-- Binary arithmetic operators --
Defined at line 633 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>bool operator== (const tvec1<T, P> & v1, const tvec1<T, P> & v2)-- Boolean operators --
Defined at line 536 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator% (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 646 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator/ (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 681 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator+ (const tvec4<T, P> & v1, const tvec1<T, P> & v2)Defined at line 639 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tmat4x4<T, P> mat4_cast (const tquat<T, P> & x)Converts a quaternion to a 4 * 4 matrix.
Defined at line 615 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>bool operator!= (const tvec1<T, P> & v1, const tvec1<T, P> & v2)Defined at line 542 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator% (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 654 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator/ (T scalar, const tvec3<T, P> & v)Defined at line 690 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator+ (T scalar, const tvec4<T, P> & v)Defined at line 645 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> isnan (const vecType<T, P> & x)Returns true if x holds a NaN (not a number)
representation in the underlying implementation's set of
floating point representations. Returns false otherwise,
including for implementations with no NaN
representations.
/!
\
When using compiler fast math, this function may fail.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 651 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <precision P>tvec1<bool, P> operator&& (const tvec1<bool, P> & v1, const tvec1<bool, P> & v2)Defined at line 548 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator& (const tvec2<T, P> & v, T scalar)Defined at line 662 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator/ (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 699 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator+ (const tvec1<T, P> & v1, const tvec4<T, P> & v2)Defined at line 651 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tquat<T, P> quat_cast (const tmat3x3<T, P> & x)Converts a 3 * 3 matrix to a quaternion.
Defined at line 621 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T>tmat4x4<T, defaultp> perspectiveFovRH (T fov, T width, T height, T near, T far)Builds a right handed perspective projection matrix based on a field of view.
Parameters
fov Expressed in radians.near Specifies the distance from the viewer to the near clipping plane (always positive).far Specifies the distance from the viewer to the far clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 314 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <precision P>tvec1<bool, P> operator|| (const tvec1<bool, P> & v1, const tvec1<bool, P> & v2)Defined at line 554 of file ../../third_party/glm/glm/detail/../detail/type_vec1.inl
-
template <typename T, precision P>tvec2<T, P> operator& (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 670 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator/ (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 708 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator+ (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 657 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator& (T scalar, const tvec2<T, P> & v)Defined at line 678 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator% (const tvec3<T, P> & v, T scalar)-- Binary bit operators --
Defined at line 719 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator- (const tvec4<T, P> & v, T scalar)Defined at line 663 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tquat<T, P> quat_cast (const tmat4x4<T, P> & x)Converts a 4 * 4 matrix to a quaternion.
Defined at line 685 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator& (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 686 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator% (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 728 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator- (const tvec4<T, P> & v1, const tvec1<T, P> & v2)Defined at line 669 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P, template <typename, precision> class vecType>vecType<bool, P> isinf (const vecType<T, P> & x)Returns true if x holds a positive infinity or negative
infinity representation in the underlying implementation's
set of floating point representations. Returns false
otherwise, including for implementations with no infinity
representations.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 690 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator& (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 694 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator% (const T & scalar, const tvec3<T, P> & v) -
template <typename T, precision P>tvec4<T, P> operator- (T scalar, const tvec4<T, P> & v)Defined at line 675 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>T angle (const tquat<T, P> & x)Returns the quaternion rotation angle.
Defined at line 691 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator| (const tvec2<T, P> & v, T scalar)Defined at line 702 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator% (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 746 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator- (const tvec1<T, P> & v1, const tvec4<T, P> & v2)Defined at line 681 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator| (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 710 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator% (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 755 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator- (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 687 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T>tmat4x4<T, defaultp> perspectiveFovLH (T fov, T width, T height, T near, T far)Builds a left handed perspective projection matrix based on a field of view.
Parameters
fov Expressed in radians.near Specifies the distance from the viewer to the near clipping plane (always positive).far Specifies the distance from the viewer to the far clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 341 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
int floatBitsToInt (const float & v)Returns a signed integer value representing
the encoding of a floating-point value. The floating-point
value's bit-level representation is preserved.
Defined at line 697 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> axis (const tquat<T, P> & x)Returns the q rotation axis.
Defined at line 697 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator| (T scalar, const tvec2<T, P> & v)Defined at line 718 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator& (const tvec3<T, P> & v1, T scalar)Defined at line 764 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tvec4<T, P> & v, T scalar)Defined at line 693 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator| (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 726 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator& (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 773 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tvec4<T, P> & v1, const tvec1<T, P> & v2)Defined at line 699 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator| (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 734 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator& (T scalar, const tvec3<T, P> & v)Defined at line 782 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator* (T scalar, const tvec4<T, P> & v)Defined at line 705 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <template <typename, precision> class vecType, precision P>vecType<int, P> floatBitsToInt (const vecType<float, P> & v)Returns a signed integer value representing
the encoding of a floating-point value. The floatingpoint
value's bit-level representation is preserved.
Defined at line 703 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tquat<T, P> angleAxis (const T & angle, const tvec3<T, P> & axis)Build a quaternion from an angle and a normalized axis.
Parameters
angle Angle expressed in radians.axis Axis of the quaternion, must be normalized.Defined at line 707 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator^ (const tvec2<T, P> & v, T scalar)Defined at line 742 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator& (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 791 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tvec1<T, P> & v1, const tvec4<T, P> & v2)Defined at line 711 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator^ (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 750 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator& (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 800 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator* (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 717 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T>tmat4x4<T, defaultp> infinitePerspective (T fovy, T aspect, T near)Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 368 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
uint floatBitsToUint (const float & v)Returns a unsigned integer value representing
the encoding of a floating-point value. The floatingpoint
value's bit-level representation is preserved.
Defined at line 708 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator^ (T scalar, const tvec2<T, P> & v)Defined at line 758 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator| (const tvec3<T, P> & v, T scalar)Defined at line 809 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator/ (const tvec4<T, P> & v, T scalar)Defined at line 723 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> lessThan (const tquat<T, P> & x, const tquat<T, P> & y)Returns the component-wise comparison result of x
<
y.
Template Parameters
quatType Floating-point quaternion types.Defined at line 722 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator^ (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 766 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator| (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 818 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator/ (const tvec4<T, P> & v1, const tvec1<T, P> & v2)Defined at line 729 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator^ (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 774 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator| (T scalar, const tvec3<T, P> & v)Defined at line 827 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator/ (T scalar, const tvec4<T, P> & v)Defined at line 735 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> lessThanEqual (const tquat<T, P> & x, const tquat<T, P> & y)Returns the component-wise comparison of result x
<
= y.
Template Parameters
quatType Floating-point quaternion types.Defined at line 731 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T>tmat4x4<T, defaultp> infinitePerspectiveLH (T fovy, T aspect, T near)Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 396 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <template <typename, precision> class vecType, precision P>vecType<uint, P> floatBitsToUint (const vecType<float, P> & v)Returns a unsigned integer value representing
the encoding of a floating-point value. The floatingpoint
value's bit-level representation is preserved.
Defined at line 714 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> operator% (T scalar, const tvec3<T, P> & v)Defined at line 737 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec2<T, P> operator<< (const tvec2<T, P> & v, T scalar)Defined at line 782 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator| (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 836 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator/ (const tvec1<T, P> & v1, const tvec4<T, P> & v2)Defined at line 741 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator<< (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 790 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator| (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 845 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator/ (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 747 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec3<T, P> operator^ (const tvec3<T, P> & v, T scalar)Defined at line 854 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator% (const tvec4<T, P> & v, T scalar)-- Binary bit operators --
Defined at line 755 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> greaterThan (const tquat<T, P> & x, const tquat<T, P> & y)Returns the component-wise comparison of result x > y.
Template Parameters
quatType Floating-point quaternion types.Defined at line 740 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename genType>genType frexp (genType x, int & exp)Defined at line 748 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec1<T, P> frexp (const tvec1<T, P> & x, tvec1<int, P> & exp)Defined at line 756 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> operator^ (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 863 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator% (const tvec4<T, P> & v, const tvec1<T, P> & scalar)Defined at line 761 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> frexp (const tvec2<T, P> & x, tvec2<int, P> & exp)Defined at line 764 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> frexp (const tvec3<T, P> & x, tvec3<int, P> & exp)Defined at line 774 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec4<T, P> frexp (const tvec4<T, P> & x, tvec4<int, P> & exp)Defined at line 785 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename genType>genType ldexp (const genType & x, const int & exp)Defined at line 797 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator<< (T scalar, const tvec2<T, P> & v)Defined at line 798 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec2<T, P> operator<< (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 806 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
float intBitsToFloat (const int & v)Returns a floating-point value corresponding to a signed
integer encoding of a floating-point value.
If an inf or NaN is passed in, it will not signal, and the
resulting floating point value is unspecified. Otherwise,
the bit-level representation is preserved.
Defined at line 719 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T>tmat4x4<T, defaultp> infinitePerspectiveRH (T fovy, T aspect, T near)Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 378 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec1<T, P> ldexp (const tvec1<T, P> & x, const tvec1<int, P> & exp)Defined at line 805 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, std::size_t N>std::size_t countof (const T (&)[N] )Defined at line 810 of file ../../third_party/glm/glm/detail/setup.hpp
-
template <typename T, precision P>tvec2<T, P> operator<< (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 814 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator^ (T scalar, const tvec3<T, P> & v)Defined at line 872 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator% (T scalar, const tvec4<T, P> & v)Defined at line 767 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec2<T, P> operator>> (const tvec2<T, P> & v, T scalar)Defined at line 822 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator^ (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 881 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator% (const tvec1<T, P> & scalar, const tvec4<T, P> & v)Defined at line 773 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> greaterThanEqual (const tquat<T, P> & x, const tquat<T, P> & y)Returns the component-wise comparison of result x >= y.
Template Parameters
quatType Floating-point quaternion types.Defined at line 749 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> operator>> (const tvec2<T, P> & v1, const tvec1<T, P> & v2)Defined at line 830 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator^ (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 890 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator% (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 779 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <template <typename, precision> class vecType, precision P>vecType<float, P> intBitsToFloat (const vecType<int, P> & v)Returns a floating-point value corresponding to a signed
integer encoding of a floating-point value.
If an inf or NaN is passed in, it will not signal, and the
resulting floating point value is unspecified. Otherwise,
the bit-level representation is preserved.
Defined at line 725 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator>> (T scalar, const tvec2<T, P> & v)Defined at line 838 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator<< (const tvec3<T, P> & v, T scalar)Defined at line 899 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator& (const tvec4<T, P> & v, T scalar)Defined at line 785 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T>tmat4x4<T, defaultp> tweakedInfinitePerspective (T fovy, T aspect, T near)Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 433 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec4<bool, P> equal (const tquat<T, P> & x, const tquat<T, P> & y)Returns the component-wise comparison of result x == y.
Template Parameters
quatType Floating-point quaternion types.Defined at line 758 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec3<T, P> operator<< (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 908 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator& (const tvec4<T, P> & v, const tvec1<T, P> & scalar)Defined at line 791 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec3<T, P> operator<< (T scalar, const tvec3<T, P> & v)Defined at line 917 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator& (T scalar, const tvec4<T, P> & v)Defined at line 797 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec3<T, P> operator<< (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 926 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator& (const tvec1<T, P> & scalar, const tvec4<T, P> & v)Defined at line 803 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> notEqual (const tquat<T, P> & x, const tquat<T, P> & y)Returns the component-wise comparison of result x != y.
Template Parameters
quatType Floating-point quaternion types.Defined at line 767 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec2<T, P> ldexp (const tvec2<T, P> & x, const tvec2<int, P> & exp)Defined at line 814 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> ldexp (const tvec3<T, P> & x, const tvec3<int, P> & exp)Defined at line 824 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec4<T, P> ldexp (const tvec4<T, P> & x, const tvec4<int, P> & exp)Defined at line 835 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec2<T, P> operator>> (const tvec1<T, P> & v1, const tvec2<T, P> & v2)Defined at line 846 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec2<T, P> operator>> (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 854 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec2<T, P> operator~ (const tvec2<T, P> & v)Defined at line 862 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
float uintBitsToFloat (const uint & v)Returns a floating-point value corresponding to a
unsigned integer encoding of a floating-point value.
If an inf or NaN is passed in, it will not signal, and the
resulting floating point value is unspecified. Otherwise,
the bit-level representation is preserved.
Defined at line 730 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> operator<< (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 935 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator& (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 809 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T>tmat4x4<T, defaultp> tweakedInfinitePerspective (T fovy, T aspect, T near, T ep)Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping.
Parameters
fovy Specifies the field of view angle, in degrees, in the y direction. Expressed in radians.aspect Specifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).near Specifies the distance from the viewer to the near clipping plane (always positive).Template Parameters
T Value type used to build the matrix. Currently supported: half (not recommanded), float or double.Defined at line 415 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>bool operator== (const tvec2<T, P> & v1, const tvec2<T, P> & v2)-- Boolean operators --
Defined at line 872 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator>> (const tvec3<T, P> & v, T scalar)Defined at line 944 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator| (const tvec4<T, P> & v, T scalar)Defined at line 815 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>bool operator!= (const tvec2<T, P> & v1, const tvec2<T, P> & v2)Defined at line 878 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator>> (const tvec3<T, P> & v1, const tvec1<T, P> & v2)Defined at line 953 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator| (const tvec4<T, P> & v, const tvec1<T, P> & scalar)Defined at line 821 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <precision P>tvec2<bool, P> operator&& (const tvec2<bool, P> & v1, const tvec2<bool, P> & v2)Defined at line 884 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <template <typename, precision> class vecType, precision P>vecType<float, P> uintBitsToFloat (const vecType<uint, P> & v)Returns a floating-point value corresponding to a
unsigned integer encoding of a floating-point value.
If an inf or NaN is passed in, it will not signal, and the
resulting floating point value is unspecified. Otherwise,
the bit-level representation is preserved.
Defined at line 736 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> operator>> (T scalar, const tvec3<T, P> & v)Defined at line 962 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator| (T scalar, const tvec4<T, P> & v)Defined at line 827 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> isnan (const tquat<T, P> & x)Returns true if x holds a NaN (not a number)
representation in the underlying implementation's set of
floating point representations. Returns false otherwise,
including for implementations with no NaN
representations.
/!
\
When using compiler fast math, this function may fail.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 776 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <precision P>tvec2<bool, P> operator|| (const tvec2<bool, P> & v1, const tvec2<bool, P> & v2)Defined at line 890 of file ../../third_party/glm/glm/detail/type_vec2.inl
-
template <typename T, precision P>tvec3<T, P> operator>> (const tvec1<T, P> & v1, const tvec3<T, P> & v2)Defined at line 971 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator| (const tvec1<T, P> & scalar, const tvec4<T, P> & v)Defined at line 833 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, typename U, precision P>tvec3<T, P> project (const tvec3<T, P> & obj, const tmat4x4<T, P> & model, const tmat4x4<T, P> & proj, const tvec4<U, P> & viewport)Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.
Parameters
obj Specify the object coordinates.model Specifies the current modelview matrixproj Specifies the current projection matrixviewport Specifies the current viewportTemplate Parameters
T Native type used for the computation. Currently supported: half (not recommanded), float or double.U Currently supported: Floating-point types and integer types.Returns
Return the computed window coordinates.
Defined at line 439 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec3<T, P> operator>> (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 980 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator| (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 839 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename genType>genType fma (const genType & a, const genType & b, const genType & c)Computes and returns a * b + c.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 742 of file ../../third_party/glm/glm/detail/../detail/func_common.inl
-
template <typename T, precision P>tvec3<T, P> operator~ (const tvec3<T, P> & v)Defined at line 989 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator^ (const tvec4<T, P> & v, T scalar)Defined at line 845 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<bool, P> isinf (const tquat<T, P> & x)Returns true if x holds a positive infinity or negative
infinity representation in the underlying implementation's
set of floating point representations. Returns false
otherwise, including for implementations with no infinity
representations.
Template Parameters
genType Floating-point scalar or vector types.Defined at line 784 of file ../../third_party/glm/glm/gtc/quaternion.inl
-
template <typename T, precision P>tvec4<T, P> operator^ (const tvec4<T, P> & v, const tvec1<T, P> & scalar)Defined at line 851 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>bool operator== (const tvec3<T, P> & v1, const tvec3<T, P> & v2)-- Boolean operators --
Defined at line 1000 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator^ (T scalar, const tvec4<T, P> & v)Defined at line 857 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>bool operator!= (const tvec3<T, P> & v1, const tvec3<T, P> & v2)Defined at line 1006 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator^ (const tvec1<T, P> & scalar, const tvec4<T, P> & v)Defined at line 863 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <precision P>tvec3<bool, P> operator&& (const tvec3<bool, P> & v1, const tvec3<bool, P> & v2)Defined at line 1012 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator^ (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 869 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, typename U, precision P>tvec3<T, P> unProject (const tvec3<T, P> & win, const tmat4x4<T, P> & model, const tmat4x4<T, P> & proj, const tvec4<U, P> & viewport)Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.
Parameters
win Specify the window coordinates to be mapped.model Specifies the modelview matrixproj Specifies the projection matrixviewport Specifies the viewportTemplate Parameters
T Native type used for the computation. Currently supported: half (not recommanded), float or double.U Currently supported: Floating-point types and integer types.Returns
Returns the computed object coordinates.
Defined at line 465 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <precision P>tvec3<bool, P> operator|| (const tvec3<bool, P> & v1, const tvec3<bool, P> & v2)Defined at line 1018 of file ../../third_party/glm/glm/detail/type_vec3.inl
-
template <typename T, precision P>tvec4<T, P> operator<< (const tvec4<T, P> & v, T scalar)Defined at line 875 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename genType, typename genIType>genType frexp (const genType & x, genIType & exp)Splits x into a floating-point significand in the range
[0.5, 1.0) and an integral exponent of two, such that:
x = significand * exp(2, exponent)
The significand is returned by the function and the
exponent is returned in the parameter exp. For a
floating-point value of zero, the significant and exponent
are both zero. For a floating-point value that is an
infinity or is not a number, the results are undefined.
Template Parameters
genType Floating-point scalar or vector types. -
template <typename T, precision P>tvec4<T, P> operator<< (const tvec4<T, P> & v, const tvec1<T, P> & scalar)Defined at line 881 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<T, P> operator<< (T scalar, const tvec4<T, P> & v)Defined at line 887 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<T, P> operator<< (const tvec1<T, P> & scalar, const tvec4<T, P> & v)Defined at line 893 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<T, P> operator<< (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 899 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P, typename U>tmat4x4<T, P> pickMatrix (const tvec2<T, P> & center, const tvec2<T, P> & delta, const tvec4<U, P> & viewport)Define a picking region
Template Parameters
T Native type used for the computation. Currently supported: half (not recommanded), float or double.U Currently supported: Floating-point types and integer types.Defined at line 492 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec4<T, P> operator>> (const tvec4<T, P> & v, T scalar)Defined at line 905 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename genType, typename genIType>genType ldexp (const genType & x, const genIType & exp)Builds a floating-point number from x and the
corresponding integral exponent of two in exp, returning:
significand * exp(2, exponent)
If this product is too large to be represented in the
floating-point type, the result is undefined.
Template Parameters
genType Floating-point scalar or vector types. -
template <typename T, precision P>tvec4<T, P> operator>> (const tvec4<T, P> & v, const tvec1<T, P> & scalar)Defined at line 911 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<T, P> operator>> (T scalar, const tvec4<T, P> & v)Defined at line 917 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<T, P> operator>> (const tvec1<T, P> & scalar, const tvec4<T, P> & v)Defined at line 923 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tmat4x4<T, P> lookAt (const tvec3<T, P> & eye, const tvec3<T, P> & center, const tvec3<T, P> & up)Build a look at view matrix based on the default handedness.
Parameters
eye Position of the cameracenter Position where the camera is looking atup Normalized up vector, how the camera is oriented. Typically (0, 0, 1)Defined at line 511 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <typename T, precision P>tvec4<T, P> operator>> (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 929 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tvec4<T, P> operator~ (const tvec4<T, P> & v)Defined at line 935 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>bool operator== (const tvec4<T, P> & v1, const tvec4<T, P> & v2)-- Boolean operators --
Defined at line 943 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>bool operator!= (const tvec4<T, P> & v1, const tvec4<T, P> & v2)Defined at line 949 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename T, precision P>tmat4x4<T, P> lookAtRH (const tvec3<T, P> & eye, const tvec3<T, P> & center, const tvec3<T, P> & up)Build a right handed look at view matrix.
Parameters
eye Position of the cameracenter Position where the camera is looking atup Normalized up vector, how the camera is oriented. Typically (0, 0, 1)Defined at line 521 of file ../../third_party/glm/glm/gtc/matrix_transform.inl
-
template <precision P>tvec4<bool, P> operator&& (const tvec4<bool, P> & v1, const tvec4<bool, P> & v2)Defined at line 955 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <precision P>tvec4<bool, P> operator|| (const tvec4<bool, P> & v1, const tvec4<bool, P> & v2)Defined at line 961 of file ../../third_party/glm/glm/detail/type_vec4.inl
-
template <typename Tprecision P>tmat4x4<T, P> lookAtLH (const tvec3<T, P> & eyeconst tvec3<T, P> & centerconst tvec3<T, P> & up)Build a left handed look at view matrix.
Parameters
eye Position of the cameracenter Position where the camera is looking atup Normalized up vector, how the camera is oriented. Typically (0, 0, 1)Defined at line 549 of file ../../third_party/glm/glm/gtc/matrix_transform.inl