Fixed merge
This commit is contained in:
commit
c868666c79
@ -213,22 +213,22 @@ namespace glm
|
|||||||
typename genType::value_type const & minVal,
|
typename genType::value_type const & minVal,
|
||||||
typename genType::value_type const & maxVal);
|
typename genType::value_type const & maxVal);
|
||||||
|
|
||||||
//! @return If genTypeU is a floating scalar or vector:
|
/// If genTypeU is a floating scalar or vector:
|
||||||
//! Returns x * (1.0 - a) + y * a, i.e., the linear blend of
|
/// Returns x * (1.0 - a) + y * a, i.e., the linear blend of
|
||||||
//! x and y using the floating-point value a.
|
/// x and y using the floating-point value a.
|
||||||
//! The value for a is not restricted to the range [0, 1].
|
/// The value for a is not restricted to the range [0, 1].
|
||||||
//!
|
///
|
||||||
//! @return If genTypeU is a boolean scalar or vector:
|
/// If genTypeU is a boolean scalar or vector:
|
||||||
//! Selects which vector each returned component comes
|
/// Selects which vector each returned component comes
|
||||||
//! from. For a component of a that is false, the
|
/// from. For a component of a that is false, the
|
||||||
//! corresponding component of x is returned. For a
|
/// corresponding component of x is returned. For a
|
||||||
//! component of a that is true, the corresponding
|
/// component of a that is true, the corresponding
|
||||||
//! component of y is returned. Components of x and y that
|
/// component of y is returned. Components of x and y that
|
||||||
//! are not selected are allowed to be invalid floating point
|
/// are not selected are allowed to be invalid floating point
|
||||||
//! values and will have no effect on the results. Thus, this
|
/// values and will have no effect on the results. Thus, this
|
||||||
//! provides different functionality than
|
/// provides different functionality than
|
||||||
//! genType mix(genType x, genType y, genType(a))
|
/// genType mix(genType x, genType y, genType(a))
|
||||||
//! where a is a Boolean vector.
|
/// where a is a Boolean vector.
|
||||||
///
|
///
|
||||||
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mix.xml">GLSL mix man page</a>
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/mix.xml">GLSL mix man page</a>
|
||||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.3 Common Functions</a>
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.3 Common Functions</a>
|
||||||
|
@ -41,16 +41,16 @@ namespace glm
|
|||||||
/// @addtogroup core_func_exponential
|
/// @addtogroup core_func_exponential
|
||||||
/// @{
|
/// @{
|
||||||
|
|
||||||
/// Returns x raised to the y power.
|
/// Returns 'base' raised to the power 'exponent'.
|
||||||
///
|
///
|
||||||
/// @param x pow function is defined for input values of x defined in the range (inf-, inf+) in the limit of the type precision.
|
/// @param base Floating point value. pow function is defined for input values of x defined in the range (inf-, inf+) in the limit of the type precision.
|
||||||
/// @param y
|
/// @param exponent Floating point value representing the 'exponent'.
|
||||||
/// @tparam genType Floating-point scalar or vector types.
|
/// @tparam genType Floating-point scalar or vector types.
|
||||||
///
|
///
|
||||||
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/pow.xml">GLSL pow man page</a>
|
/// @see <a href="http://www.opengl.org/sdk/docs/manglsl/xhtml/pow.xml">GLSL pow man page</a>
|
||||||
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.2 Exponential Functions</a>
|
/// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 8.2 Exponential Functions</a>
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType pow(genType const & x, genType const & y);
|
genType pow(genType const & base, genType const & exponent);
|
||||||
|
|
||||||
/// Returns the natural exponentiation of x, i.e., e^x.
|
/// Returns the natural exponentiation of x, i.e., e^x.
|
||||||
///
|
///
|
||||||
|
@ -132,7 +132,6 @@ namespace glm
|
|||||||
(
|
(
|
||||||
genType const & x,
|
genType const & x,
|
||||||
genType const & y
|
genType const & y
|
||||||
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'dot' only accept floating-point inputs");
|
GLM_STATIC_ASSERT(detail::type<genType>::is_float, "'dot' only accept floating-point inputs");
|
||||||
@ -271,7 +270,7 @@ namespace glm
|
|||||||
|
|
||||||
// reflect
|
// reflect
|
||||||
template <typename genType>
|
template <typename genType>
|
||||||
genType reflect
|
GLM_FUNC_QUALIFIER genType reflect
|
||||||
(
|
(
|
||||||
genType const & I,
|
genType const & I,
|
||||||
genType const & N
|
genType const & N
|
||||||
|
@ -37,8 +37,8 @@ namespace detail
|
|||||||
{
|
{
|
||||||
typedef short hdata;
|
typedef short hdata;
|
||||||
|
|
||||||
float toFloat32(hdata value);
|
GLM_FUNC_DECL float toFloat32(hdata value);
|
||||||
hdata toFloat16(float const & value);
|
GLM_FUNC_DECL hdata toFloat16(float const & value);
|
||||||
|
|
||||||
class half
|
class half
|
||||||
{
|
{
|
||||||
@ -72,42 +72,42 @@ namespace detail
|
|||||||
hdata data;
|
hdata data;
|
||||||
};
|
};
|
||||||
|
|
||||||
half operator+ (half const & s1, half const & s2);
|
GLM_FUNC_DECL half operator+ (half const & s1, half const & s2);
|
||||||
|
|
||||||
half operator- (half const & s1, half const & s2);
|
GLM_FUNC_DECL half operator- (half const & s1, half const & s2);
|
||||||
|
|
||||||
half operator* (half const & s1, half const & s2);
|
GLM_FUNC_DECL half operator* (half const & s1, half const & s2);
|
||||||
|
|
||||||
half operator/ (half const & s1, half const & s2);
|
GLM_FUNC_DECL half operator/ (half const & s1, half const & s2);
|
||||||
|
|
||||||
// Unary constant operators
|
// Unary constant operators
|
||||||
half operator- (half const & s);
|
GLM_FUNC_DECL half operator- (half const & s);
|
||||||
|
|
||||||
half operator-- (half const & s, int);
|
GLM_FUNC_DECL half operator-- (half const & s, int);
|
||||||
|
|
||||||
half operator++ (half const & s, int);
|
GLM_FUNC_DECL half operator++ (half const & s, int);
|
||||||
|
|
||||||
bool operator==(
|
GLM_FUNC_DECL bool operator==(
|
||||||
detail::half const & x,
|
detail::half const & x,
|
||||||
detail::half const & y);
|
detail::half const & y);
|
||||||
|
|
||||||
bool operator!=(
|
GLM_FUNC_DECL bool operator!=(
|
||||||
detail::half const & x,
|
detail::half const & x,
|
||||||
detail::half const & y);
|
detail::half const & y);
|
||||||
|
|
||||||
bool operator<(
|
GLM_FUNC_DECL bool operator<(
|
||||||
detail::half const & x,
|
detail::half const & x,
|
||||||
detail::half const & y);
|
detail::half const & y);
|
||||||
|
|
||||||
bool operator<=(
|
GLM_FUNC_DECL bool operator<=(
|
||||||
detail::half const & x,
|
detail::half const & x,
|
||||||
detail::half const & y);
|
detail::half const & y);
|
||||||
|
|
||||||
bool operator>(
|
GLM_FUNC_DECL bool operator>(
|
||||||
detail::half const & x,
|
detail::half const & x,
|
||||||
detail::half const & y);
|
detail::half const & y);
|
||||||
|
|
||||||
bool operator>=(
|
GLM_FUNC_DECL bool operator>=(
|
||||||
detail::half const & x,
|
detail::half const & x,
|
||||||
detail::half const & y);
|
detail::half const & y);
|
||||||
|
|
||||||
|
@ -34,40 +34,6 @@
|
|||||||
namespace glm{
|
namespace glm{
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
//template
|
|
||||||
//<
|
|
||||||
// typename T,
|
|
||||||
// template <typename> class C,
|
|
||||||
// template <typename> class R
|
|
||||||
//>
|
|
||||||
//struct matType
|
|
||||||
//{
|
|
||||||
// enum ctor{null};
|
|
||||||
// typedef T value_type;
|
|
||||||
// typedef std::size_t size_type;
|
|
||||||
// typedef C<T> col_type;
|
|
||||||
// typedef R<T> row_type;
|
|
||||||
// static size_type const col_size;
|
|
||||||
// static size_type const row_size;
|
|
||||||
//};
|
|
||||||
|
|
||||||
//template
|
|
||||||
//<
|
|
||||||
// typename T,
|
|
||||||
// template <typename> class C,
|
|
||||||
// template <typename> class R
|
|
||||||
//>
|
|
||||||
//typename matType<T, C, R>::size_type const
|
|
||||||
//matType<T, C, R>::col_size = matType<T, C, R>::col_type::value_size;
|
|
||||||
|
|
||||||
//template
|
|
||||||
//<
|
|
||||||
// typename T,
|
|
||||||
// template <typename> class C,
|
|
||||||
// template <typename> class R
|
|
||||||
//>
|
|
||||||
//typename matType<T, C, R>::size_type const
|
|
||||||
//matType<T, C, R>::row_size = matType<T, C, R>::row_type::value_size;
|
|
||||||
|
|
||||||
}//namespace detail
|
}//namespace detail
|
||||||
}//namespace glm
|
}//namespace glm
|
||||||
|
@ -44,7 +44,7 @@ GLM 0.9.5.X: 2013-XX-XX
|
|||||||
- Added GTX_scalar_relational
|
- Added GTX_scalar_relational
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.4.2: 2013-01-XX
|
GLM 0.9.4.2: 2013-02-14
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
- Fixed compAdd from GTX_component_wise
|
- Fixed compAdd from GTX_component_wise
|
||||||
- Fixed SIMD support for Intel compiler on Windows
|
- Fixed SIMD support for Intel compiler on Windows
|
||||||
@ -55,6 +55,8 @@ GLM 0.9.4.2: 2013-01-XX
|
|||||||
- Fixed mix for vec4 SSE implementation
|
- Fixed mix for vec4 SSE implementation
|
||||||
- Fixed 0x2013 dash character in comments that cause issue in Windows
|
- Fixed 0x2013 dash character in comments that cause issue in Windows
|
||||||
Japanese mode
|
Japanese mode
|
||||||
|
- Fixed documentation warnings
|
||||||
|
- Fixed CUDA warnings
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.4.1: 2012-12-22
|
GLM 0.9.4.1: 2012-12-22
|
||||||
|
Loading…
x
Reference in New Issue
Block a user