|
@@ -52,7 +52,7 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packUnorm2x16.xml">GLSL packUnorm2x16 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packUnorm2x16.xml">GLSL packUnorm2x16 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::uint32 packUnorm2x16(detail::tvec2<detail::float32> const & v);
|
|
|
|
|
|
|
+ uint32 packUnorm2x16(detail::tvec2<float32> const & v);
|
|
|
|
|
|
|
|
//! First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
|
|
//! 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.
|
|
//! Then, the results are packed into the returned 32-bit unsigned integer.
|
|
@@ -65,7 +65,7 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packSnorm2x16.xml">GLSL packSnorm2x16 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packSnorm2x16.xml">GLSL packSnorm2x16 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::uint32 packSnorm2x16(detail::tvec2<detail::float32> const & v);
|
|
|
|
|
|
|
+ uint32 packSnorm2x16(detail::tvec2<float32> const & v);
|
|
|
|
|
|
|
|
//! First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
|
|
//! 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.
|
|
//! Then, the results are packed into the returned 32-bit unsigned integer.
|
|
@@ -78,7 +78,7 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packUnorm4x8.xml">GLSL packUnorm4x8 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packUnorm4x8.xml">GLSL packUnorm4x8 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::uint32 packUnorm4x8(detail::tvec4<detail::float32> const & v);
|
|
|
|
|
|
|
+ uint32 packUnorm4x8(detail::tvec4<float32> const & v);
|
|
|
|
|
|
|
|
//! First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.
|
|
//! 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.
|
|
//! Then, the results are packed into the returned 32-bit unsigned integer.
|
|
@@ -91,7 +91,7 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packSnorm4x8.xml">GLSL packSnorm4x8 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packSnorm4x8.xml">GLSL packSnorm4x8 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::uint32 packSnorm4x8(detail::tvec4<detail::float32> const & v);
|
|
|
|
|
|
|
+ uint32 packSnorm4x8(detail::tvec4<float32> const & v);
|
|
|
|
|
|
|
|
//! 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.
|
|
//! 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.
|
|
//! Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
|
|
@@ -104,7 +104,7 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackUnorm2x16.xml">GLSL unpackUnorm2x16 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackUnorm2x16.xml">GLSL unpackUnorm2x16 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::tvec2<detail::float32> unpackUnorm2x16(detail::uint32 const & p);
|
|
|
|
|
|
|
+ detail::tvec2<float32> unpackUnorm2x16(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.
|
|
//! 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.
|
|
//! Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
|
|
@@ -117,7 +117,7 @@ namespace glm
|
|
|
//!
|
|
//!
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackSnorm2x16.xml">GLSL unpackSnorm2x16 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackSnorm2x16.xml">GLSL unpackSnorm2x16 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::tvec2<detail::float32> unpackSnorm2x16(detail::uint32 const & p);
|
|
|
|
|
|
|
+ detail::tvec2<float32> unpackSnorm2x16(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.
|
|
/// 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.
|
|
/// Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
|
|
@@ -130,7 +130,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackUnorm4x8.xml">GLSL unpackUnorm4x8 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackUnorm4x8.xml">GLSL unpackUnorm4x8 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::tvec4<detail::float32> unpackUnorm4x8(detail::uint32 const & p);
|
|
|
|
|
|
|
+ detail::tvec4<float32> unpackUnorm4x8(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.
|
|
/// 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.
|
|
/// Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.
|
|
@@ -143,7 +143,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackSnorm4x8.xml">GLSL unpackSnorm4x8 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackSnorm4x8.xml">GLSL unpackSnorm4x8 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::tvec4<detail::float32> unpackSnorm4x8(detail::uint32 const & p);
|
|
|
|
|
|
|
+ detail::tvec4<float32> unpackSnorm4x8(uint32 const & p);
|
|
|
|
|
|
|
|
/// Returns a double-precision value obtained by packing the components of v into a 64-bit value.
|
|
/// 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.
|
|
/// If an IEEE 754 Inf or NaN is created, it will not signal, and the resulting floating point value is unspecified.
|
|
@@ -153,7 +153,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packDouble2x32.xml">GLSL packDouble2x32 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/packDouble2x32.xml">GLSL packDouble2x32 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- double packDouble2x32(detail::tvec2<detail::uint32> const & v);
|
|
|
|
|
|
|
+ double packDouble2x32(detail::tvec2<uint32> const & v);
|
|
|
|
|
|
|
|
/// Returns a two-component unsigned integer vector representation of v.
|
|
/// Returns a two-component unsigned integer vector representation of v.
|
|
|
/// The bit-level representation of v is preserved.
|
|
/// The bit-level representation of v is preserved.
|
|
@@ -162,7 +162,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackDouble2x32.xml">GLSL unpackDouble2x32 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackDouble2x32.xml">GLSL unpackDouble2x32 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- detail::tvec2<detail::uint32> unpackDouble2x32(double const & v);
|
|
|
|
|
|
|
+ detail::tvec2<uint32> unpackDouble2x32(double const & v);
|
|
|
|
|
|
|
|
/// Returns an unsigned integer obtained by converting the components of a two-component floating-point vector
|
|
/// 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,
|
|
/// to the 16-bit floating-point representation found in the OpenGL Specification,
|
|
@@ -182,7 +182,7 @@ namespace glm
|
|
|
///
|
|
///
|
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackHalf2x16.xml">GLSL unpackHalf2x16 man page</a>
|
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/unpackHalf2x16.xml">GLSL unpackHalf2x16 man page</a>
|
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions</a>
|
|
|
- vec2 unpackHalf2x16(uint const & v);
|
|
|
|
|
|
|
+ vec2 unpackHalf2x16(uint32 const & v);
|
|
|
|
|
|
|
|
/// @}
|
|
/// @}
|
|
|
}//namespace glm
|
|
}//namespace glm
|