Flow Visualisation
|
Typedefs | |
typedef detail::half | glm::half |
typedef detail::tvec2< detail::half > | glm::hvec2 |
typedef detail::tvec3< detail::half > | glm::hvec3 |
typedef detail::tvec4< detail::half > | glm::hvec4 |
typedef detail::tmat2x2< detail::half > | glm::hmat2 |
typedef detail::tmat3x3< detail::half > | glm::hmat3 |
typedef detail::tmat4x4< detail::half > | glm::hmat4 |
typedef detail::tmat2x2< detail::half > | glm::hmat2x2 |
typedef detail::tmat2x3< detail::half > | glm::hmat2x3 |
typedef detail::tmat2x4< detail::half > | glm::hmat2x4 |
typedef detail::tmat3x2< detail::half > | glm::hmat3x2 |
typedef detail::tmat3x3< detail::half > | glm::hmat3x3 |
typedef detail::tmat3x4< detail::half > | glm::hmat3x4 |
typedef detail::tmat4x2< detail::half > | glm::hmat4x2 |
typedef detail::tmat4x3< detail::half > | glm::hmat4x3 |
typedef detail::tmat4x4< detail::half > | glm::hmat4x4 |
Functions | |
GLM_FUNC_DECL half | glm::abs (half const &x) |
GLM_FUNC_DECL hvec2 | glm::abs (hvec2 const &x) |
GLM_FUNC_DECL hvec3 | glm::abs (hvec3 const &x) |
GLM_FUNC_DECL hvec4 | glm::abs (hvec4 const &x) |
GLM_FUNC_DECL half | glm::mix (half const &x, half const &y, bool const &a) |
Defines the half-precision floating-point type, along with various typedefs for vectors and matrices. <glm/gtc/half_float.hpp> need to be included to use these functionalities.
typedef detail::half glm::half |
Type for half-precision floating-point numbers.
typedef detail::tmat2x2<detail::half> glm::hmat2 |
2 * 2 matrix of half-precision floating-point numbers.
typedef detail::tmat2x2<detail::half> glm::hmat2x2 |
2 * 2 matrix of half-precision floating-point numbers.
typedef detail::tmat2x3<detail::half> glm::hmat2x3 |
2 * 3 matrix of half-precision floating-point numbers.
typedef detail::tmat2x4<detail::half> glm::hmat2x4 |
2 * 4 matrix of half-precision floating-point numbers.
typedef detail::tmat3x3<detail::half> glm::hmat3 |
3 * 3 matrix of half-precision floating-point numbers.
typedef detail::tmat3x2<detail::half> glm::hmat3x2 |
3 * 2 matrix of half-precision floating-point numbers.
typedef detail::tmat3x3<detail::half> glm::hmat3x3 |
3 * 3 matrix of half-precision floating-point numbers.
typedef detail::tmat3x4<detail::half> glm::hmat3x4 |
3 * 4 matrix of half-precision floating-point numbers.
typedef detail::tmat4x4<detail::half> glm::hmat4 |
4 * 4 matrix of half-precision floating-point numbers.
typedef detail::tmat4x2<detail::half> glm::hmat4x2 |
4 * 2 matrix of half-precision floating-point numbers.
typedef detail::tmat4x3<detail::half> glm::hmat4x3 |
4 * 3 matrix of half-precision floating-point numbers.
typedef detail::tmat4x4<detail::half> glm::hmat4x4 |
4 * 4 matrix of half-precision floating-point numbers.
typedef detail::tvec2<detail::half> glm::hvec2 |
Vector of 2 half-precision floating-point numbers.
typedef detail::tvec3<detail::half> glm::hvec3 |
Vector of 3 half-precision floating-point numbers.
typedef detail::tvec4<detail::half> glm::hvec4 |
Vector of 4 half-precision floating-point numbers.
GLM_FUNC_QUALIFIER half glm::abs | ( | half const & | x | ) |
Returns the absolute value of a half-precision floating-point value
GLM_FUNC_QUALIFIER hvec2 glm::abs | ( | hvec2 const & | x | ) |
Returns the absolute value of a half-precision floating-point two dimensional vector
GLM_FUNC_QUALIFIER hvec3 glm::abs | ( | hvec3 const & | x | ) |
Returns the absolute value of a half-precision floating-point three dimensional vector
GLM_FUNC_QUALIFIER hvec4 glm::abs | ( | hvec4 const & | x | ) |
Returns the absolute value of a half-precision floating-point four dimensional vector
GLM_FUNC_QUALIFIER glm::half glm::mix | ( | glm::half const & | x, |
glm::half const & | y, | ||
bool const & | a | ||
) |
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.