|
PSMoveService
|
OpenGL Mathematics (glm.g-truc.net) More...
#include "func_packing.inl"Go to the source code of this file.
Macros | |
| #define | GLM_CORE_func_packing GLM_VERSION |
Functions | |
| detail::uint32 | glm::packUnorm2x16 (detail::tvec2< detail::float32 > const &v) |
| First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More... | |
| detail::uint32 | glm::packSnorm2x16 (detail::tvec2< detail::float32 > const &v) |
| First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More... | |
| detail::uint32 | glm::packUnorm4x8 (detail::tvec4< detail::float32 > const &v) |
| First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More... | |
| detail::uint32 | glm::packSnorm4x8 (detail::tvec4< detail::float32 > const &v) |
| First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More... | |
| detail::tvec2< detail::float32 > | glm::unpackUnorm2x16 (detail::uint32 const &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. More... | |
| detail::tvec2< detail::float32 > | glm::unpackSnorm2x16 (detail::uint32 const &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. More... | |
| detail::tvec4< detail::float32 > | glm::unpackUnorm4x8 (detail::uint32 const &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. More... | |
| detail::tvec4< detail::float32 > | glm::unpackSnorm4x8 (detail::uint32 const &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. More... | |
| double | glm::packDouble2x32 (detail::tvec2< detail::uint32 > const &v) |
| Returns a double-precision value obtained by packing the components of v into a 64-bit value. More... | |
| detail::tvec2< detail::uint32 > | glm::unpackDouble2x32 (double const &v) |
| Returns a two-component unsigned integer vector representation of v. More... | |
| uint | glm::packHalf2x16 (vec2 const &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. More... | |
| vec2 | glm::unpackHalf2x16 (uint const &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. More... | |
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