|
PSMoveService
|
OpenGL Mathematics (glm.g-truc.net) More...
#include "_vectorize.hpp"Classes | |
| struct | glm::detail::Abs_< genFIType, bool > |
| struct | glm::detail::Abs_< genFIType, true > |
| struct | glm::detail::Abs_< genFIType, false > |
Functions | |
| template<typename genFIType > | |
| GLM_FUNC_QUALIFIER genFIType | glm::abs (genFIType const &x) |
| template<typename genFIType > | |
| GLM_FUNC_QUALIFIER genFIType | glm::sign (genFIType const &x) |
| template<> | |
| GLM_FUNC_QUALIFIER detail::half | glm::floor< detail::half > (detail::half const &x) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::floor (genType const &x) |
| Returns a value equal to the nearest integer that is less then or equal to x. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::trunc (genType const &x) |
| Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::round (genType const &x) |
| Returns a value equal to the nearest integer to x. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::roundEven (genType const &x) |
| Returns a value equal to the nearest integer to x. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::ceil (genType const &x) |
| Returns a value equal to the nearest integer that is greater than or equal to x. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::fract (genType const &x) |
| Return x - floor(x). More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::mod (genType const &x, genType const &y) |
| Modulus. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::modf (genType const &x, genType &i) |
| Returns the fractional part of x and sets i to the integer part (as a whole number floating point value). More... | |
| template<typename valType > | |
| GLM_FUNC_QUALIFIER detail::tvec2< valType > | glm::modf (detail::tvec2< valType > const &x, detail::tvec2< valType > &i) |
| template<typename valType > | |
| GLM_FUNC_QUALIFIER detail::tvec3< valType > | glm::modf (detail::tvec3< valType > const &x, detail::tvec3< valType > &i) |
| template<typename valType > | |
| GLM_FUNC_QUALIFIER detail::tvec4< valType > | glm::modf (detail::tvec4< valType > const &x, detail::tvec4< valType > &i) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::min (genType const &x, genType const &y) |
| Returns y if y < x; otherwise, it returns x. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::max (genType const &x, genType const &y) |
| Returns y if x < y; otherwise, it returns x. More... | |
| template<typename valType > | |
| GLM_FUNC_QUALIFIER valType | glm::clamp (valType const &x, valType const &minVal, valType const &maxVal) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::clamp (detail::tvec2< T > const &x, typename detail::tvec2< T >::value_type const &minVal, typename detail::tvec2< T >::value_type const &maxVal) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::clamp (detail::tvec3< T > const &x, typename detail::tvec3< T >::value_type const &minVal, typename detail::tvec3< T >::value_type const &maxVal) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::clamp (detail::tvec4< T > const &x, typename detail::tvec4< T >::value_type const &minVal, typename detail::tvec4< T >::value_type const &maxVal) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::clamp (detail::tvec2< T > const &x, detail::tvec2< T > const &minVal, detail::tvec2< T > const &maxVal) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::clamp (detail::tvec3< T > const &x, detail::tvec3< T > const &minVal, detail::tvec3< T > const &maxVal) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::clamp (detail::tvec4< T > const &x, detail::tvec4< T > const &minVal, detail::tvec4< T > const &maxVal) |
| template<typename genTypeT , typename genTypeU > | |
| GLM_FUNC_QUALIFIER genTypeT | glm::mix (genTypeT const &x, genTypeT const &y, genTypeU const &a) |
| template<typename valTypeA , typename valTypeB > | |
| GLM_FUNC_QUALIFIER detail::tvec2< valTypeA > | glm::mix (detail::tvec2< valTypeA > const &x, detail::tvec2< valTypeA > const &y, valTypeB const &a) |
| template<typename valTypeA , typename valTypeB > | |
| GLM_FUNC_QUALIFIER detail::tvec3< valTypeA > | glm::mix (detail::tvec3< valTypeA > const &x, detail::tvec3< valTypeA > const &y, valTypeB const &a) |
| template<typename valTypeA , typename valTypeB > | |
| GLM_FUNC_QUALIFIER detail::tvec4< valTypeA > | glm::mix (detail::tvec4< valTypeA > const &x, detail::tvec4< valTypeA > const &y, valTypeB const &a) |
| template<typename valTypeA , typename valTypeB > | |
| GLM_FUNC_QUALIFIER detail::tvec2< valTypeA > | glm::mix (detail::tvec2< valTypeA > const &x, detail::tvec2< valTypeA > const &y, detail::tvec2< valTypeB > const &a) |
| template<typename valTypeA , typename valTypeB > | |
| GLM_FUNC_QUALIFIER detail::tvec3< valTypeA > | glm::mix (detail::tvec3< valTypeA > const &x, detail::tvec3< valTypeA > const &y, detail::tvec3< valTypeB > const &a) |
| template<typename valTypeA , typename valTypeB > | |
| GLM_FUNC_QUALIFIER detail::tvec4< valTypeA > | glm::mix (detail::tvec4< valTypeA > const &x, detail::tvec4< valTypeA > const &y, detail::tvec4< valTypeB > const &a) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::mix (genType const &x, genType const &y, bool const &a) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::mix (detail::tvec2< T > const &x, detail::tvec2< T > const &y, typename detail::tvec2< T >::bool_type a) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::mix (detail::tvec3< T > const &x, detail::tvec3< T > const &y, typename detail::tvec3< T >::bool_type a) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::mix (detail::tvec4< T > const &x, detail::tvec4< T > const &y, typename detail::tvec4< T >::bool_type a) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::step (genType const &edge, genType const &x) |
| Returns 0.0 if x < edge, otherwise it returns 1.0. More... | |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::step (typename detail::tvec2< T >::value_type const &edge, detail::tvec2< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::step (typename detail::tvec3< T >::value_type const &edge, detail::tvec3< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::step (typename detail::tvec4< T >::value_type const &edge, detail::tvec4< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::step (detail::tvec2< T > const &edge, detail::tvec2< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::step (detail::tvec3< T > const &edge, detail::tvec3< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::step (detail::tvec4< T > const &edge, detail::tvec4< T > const &x) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::smoothstep (genType const &edge0, genType const &edge1, genType const &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. More... | |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::smoothstep (typename detail::tvec2< T >::value_type const &edge0, typename detail::tvec2< T >::value_type const &edge1, detail::tvec2< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::smoothstep (typename detail::tvec3< T >::value_type const &edge0, typename detail::tvec3< T >::value_type const &edge1, detail::tvec3< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::smoothstep (typename detail::tvec4< T >::value_type const &edge0, typename detail::tvec4< T >::value_type const &edge1, detail::tvec4< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::smoothstep (detail::tvec2< T > const &edge0, detail::tvec2< T > const &edge1, detail::tvec2< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::smoothstep (detail::tvec3< T > const &edge0, detail::tvec3< T > const &edge1, detail::tvec3< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::smoothstep (detail::tvec4< T > const &edge0, detail::tvec4< T > const &edge1, detail::tvec4< T > const &x) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER bool | glm::isnan (genType const &x) |
| Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. More... | |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T >::bool_type | glm::isnan (detail::tvec2< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T >::bool_type | glm::isnan (detail::tvec3< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T >::bool_type | glm::isnan (detail::tvec4< T > const &x) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER bool | glm::isinf (genType const &x) |
| Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. More... | |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T >::bool_type | glm::isinf (detail::tvec2< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T >::bool_type | glm::isinf (detail::tvec3< T > const &x) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T >::bool_type | glm::isinf (detail::tvec4< T > const &x) |
| GLM_FUNC_QUALIFIER int | glm::floatBitsToInt (float const &value) |
| GLM_FUNC_QUALIFIER detail::tvec2< int > | glm::floatBitsToInt (detail::tvec2< float > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec3< int > | glm::floatBitsToInt (detail::tvec3< float > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec4< int > | glm::floatBitsToInt (detail::tvec4< float > const &value) |
| GLM_FUNC_QUALIFIER uint | glm::floatBitsToUint (float const &value) |
| GLM_FUNC_QUALIFIER detail::tvec2< uint > | glm::floatBitsToUint (detail::tvec2< float > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec3< uint > | glm::floatBitsToUint (detail::tvec3< float > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec4< uint > | glm::floatBitsToUint (detail::tvec4< float > const &value) |
| GLM_FUNC_QUALIFIER float | glm::intBitsToFloat (int const &value) |
| GLM_FUNC_QUALIFIER detail::tvec2< float > | glm::intBitsToFloat (detail::tvec2< int > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec3< float > | glm::intBitsToFloat (detail::tvec3< int > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec4< float > | glm::intBitsToFloat (detail::tvec4< int > const &value) |
| GLM_FUNC_QUALIFIER float | glm::uintBitsToFloat (uint const &value) |
| GLM_FUNC_QUALIFIER detail::tvec2< float > | glm::uintBitsToFloat (detail::tvec2< uint > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec3< float > | glm::uintBitsToFloat (detail::tvec3< uint > const &value) |
| GLM_FUNC_QUALIFIER detail::tvec4< float > | glm::uintBitsToFloat (detail::tvec4< uint > const &value) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::fma (genType const &a, genType const &b, genType const &c) |
| Computes and returns a * b + c. More... | |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::frexp (genType const &x, int &exp) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::frexp (detail::tvec2< T > const &x, detail::tvec2< int > &exp) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::frexp (detail::tvec3< T > const &x, detail::tvec3< int > &exp) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::frexp (detail::tvec4< T > const &x, detail::tvec4< int > &exp) |
| template<typename genType > | |
| GLM_FUNC_QUALIFIER genType | glm::ldexp (genType const &x, int const &exp) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec2< T > | glm::ldexp (detail::tvec2< T > const &x, detail::tvec2< int > const &exp) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec3< T > | glm::ldexp (detail::tvec3< T > const &x, detail::tvec3< int > const &exp) |
| template<typename T > | |
| GLM_FUNC_QUALIFIER detail::tvec4< T > | glm::ldexp (detail::tvec4< T > const &x, detail::tvec4< int > const &exp) |
OpenGL Mathematics (glm.g-truc.net)
Copyright (c) 2005 - 2012 G-Truc Creation (www.g-truc.net) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1.8.12