mirror of
https://github.com/g-truc/glm.git
synced 2024-11-12 21:31:47 +00:00
Deprecate GTX_bit
This commit is contained in:
parent
57262d1a67
commit
0d73f61828
@ -65,40 +65,52 @@ namespace glm
|
|||||||
GLM_FUNC_DECL vecType<T, P> highestBitValue(vecType<T, P> const & value);
|
GLM_FUNC_DECL vecType<T, P> highestBitValue(vecType<T, P> const & value);
|
||||||
|
|
||||||
/// Return the power of two number which value is just higher the input value.
|
/// Return the power of two number which value is just higher the input value.
|
||||||
|
/// Deprecated, use ceilPowerOfTwo from GTC_round instead
|
||||||
///
|
///
|
||||||
|
/// @see gtc_round
|
||||||
/// @see gtx_bit
|
/// @see gtx_bit
|
||||||
template <typename genIUType>
|
template <typename genIUType>
|
||||||
GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
|
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
|
||||||
|
|
||||||
/// Return the power of two number which value is just higher the input value.
|
/// Return the power of two number which value is just higher the input value.
|
||||||
|
/// Deprecated, use ceilPowerOfTwo from GTC_round instead
|
||||||
///
|
///
|
||||||
|
/// @see gtc_round
|
||||||
/// @see gtx_bit
|
/// @see gtx_bit
|
||||||
template <typename T, precision P, template <typename, precision> class vecType>
|
template <typename T, precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_DECL vecType<T, P> powerOfTwoAbove(vecType<T, P> const & value);
|
GLM_DEPRECATED GLM_FUNC_DECL vecType<T, P> powerOfTwoAbove(vecType<T, P> const & value);
|
||||||
|
|
||||||
/// Return the power of two number which value is just lower the input value.
|
/// Return the power of two number which value is just lower the input value.
|
||||||
|
/// Deprecated, use floorPowerOfTwo from GTC_round instead
|
||||||
///
|
///
|
||||||
|
/// @see gtc_round
|
||||||
/// @see gtx_bit
|
/// @see gtx_bit
|
||||||
template <typename genIUType>
|
template <typename genIUType>
|
||||||
GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
|
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
|
||||||
|
|
||||||
/// Return the power of two number which value is just lower the input value.
|
/// Return the power of two number which value is just lower the input value.
|
||||||
|
/// Deprecated, use floorPowerOfTwo from GTC_round instead
|
||||||
///
|
///
|
||||||
|
/// @see gtc_round
|
||||||
/// @see gtx_bit
|
/// @see gtx_bit
|
||||||
template <typename T, precision P, template <typename, precision> class vecType>
|
template <typename T, precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_DECL vecType<T, P> powerOfTwoBelow(vecType<T, P> const & value);
|
GLM_DEPRECATED GLM_FUNC_DECL vecType<T, P> powerOfTwoBelow(vecType<T, P> const & value);
|
||||||
|
|
||||||
/// Return the power of two number which value is the closet to the input value.
|
/// Return the power of two number which value is the closet to the input value.
|
||||||
|
/// Deprecated, use roundPowerOfTwo from GTC_round instead
|
||||||
///
|
///
|
||||||
|
/// @see gtc_round
|
||||||
/// @see gtx_bit
|
/// @see gtx_bit
|
||||||
template <typename genIUType>
|
template <typename genIUType>
|
||||||
GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
|
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
|
||||||
|
|
||||||
/// Return the power of two number which value is the closet to the input value.
|
/// Return the power of two number which value is the closet to the input value.
|
||||||
|
/// Deprecated, use roundPowerOfTwo from GTC_round instead
|
||||||
///
|
///
|
||||||
|
/// @see gtc_round
|
||||||
/// @see gtx_bit
|
/// @see gtx_bit
|
||||||
template <typename T, precision P, template <typename, precision> class vecType>
|
template <typename T, precision P, template <typename, precision> class vecType>
|
||||||
GLM_FUNC_DECL vecType<T, P> powerOfTwoNearest(vecType<T, P> const & value);
|
GLM_DEPRECATED GLM_FUNC_DECL vecType<T, P> powerOfTwoNearest(vecType<T, P> const & value);
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
} //namespace glm
|
} //namespace glm
|
||||||
|
Loading…
Reference in New Issue
Block a user