0.9.7: packing.hpp File Reference

| 0.9.7

- Main Page
- Modules
- Files

- File List

Functions
gtc/packing.hpp File Reference

Go to the source code of this file.

## Functions
GLM_FUNC_DECL uint32 | packF2x11_1x10 (vec3 const &v)
GLM_FUNC_DECL uint16 | packHalf1x16 (float v)
GLM_FUNC_DECL uint64 | packHalf4x16 (vec4 const &v)
GLM_FUNC_DECL uint32 | packI3x10_1x2 (ivec4 const &v)
GLM_FUNC_DECL uint16 | packSnorm1x16 (float v)
GLM_FUNC_DECL uint8 | packSnorm1x8 (float s)
GLM_FUNC_DECL uint16 | packSnorm2x8 (vec2 const &v)
GLM_FUNC_DECL uint32 | packSnorm3x10_1x2 (vec4 const &v)
GLM_FUNC_DECL uint64 | packSnorm4x16 (vec4 const &v)
GLM_FUNC_DECL uint32 | packU3x10_1x2 (uvec4 const &v)
GLM_FUNC_DECL uint16 | packUnorm1x16 (float v)
GLM_FUNC_DECL uint8 | packUnorm1x8 (float v)
GLM_FUNC_DECL uint16 | packUnorm2x8 (vec2 const &v)
GLM_FUNC_DECL uint32 | packUnorm3x10_1x2 (vec4 const &v)
GLM_FUNC_DECL uint64 | packUnorm4x16 (vec4 const &v)
GLM_FUNC_DECL vec3 | unpackF2x11_1x10 (uint32 p)
GLM_FUNC_DECL float | unpackHalf1x16 (uint16 v)
GLM_FUNC_DECL vec4 | unpackHalf4x16 (uint64 p)
GLM_FUNC_DECL ivec4 | unpackI3x10_1x2 (uint32 p)
GLM_FUNC_DECL float | unpackSnorm1x16 (uint16 p)
GLM_FUNC_DECL float | unpackSnorm1x8 (uint8 p)
GLM_FUNC_DECL vec2 | unpackSnorm2x8 (uint16 p)
GLM_FUNC_DECL vec4 | unpackSnorm3x10_1x2 (uint32 p)
GLM_FUNC_DECL vec4 | unpackSnorm4x16 (uint64 p)
GLM_FUNC_DECL uvec4 | unpackU3x10_1x2 (uint32 p)
GLM_FUNC_DECL float | unpackUnorm1x16 (uint16 p)
GLM_FUNC_DECL float | unpackUnorm1x8 (uint8 p)
GLM_FUNC_DECL vec2 | unpackUnorm2x8 (uint16 p)
GLM_FUNC_DECL vec4 | unpackUnorm3x10_1x2 (uint32 p)
GLM_FUNC_DECL vec4 | unpackUnorm4x16 (uint64 p)

## Detailed Description

OpenGL Mathematics (glm.g-truc.net)

Copyright (c) 2005 - 2015 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.

Restrictions: By making use of the Software for military purposes, you choose to make a Bunny unhappy.

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.

GLM_GTC_packing

Date
  2013-08-08 / 2013-08-08

Author
  Christophe Riccio

See also
  GLM Core (dependence)

Definition in file gtc/packing.hpp.