|
|
@ -32,70 +32,72 @@ |
|
|
|
|
|
|
|
|
|
|
|
namespace glm |
|
|
|
namespace glm |
|
|
|
{ |
|
|
|
{ |
|
|
|
template <typename T, precision P> |
|
|
|
|
|
|
|
const tvec4<T, P> tvec4<T, P>::ZERO = |
|
|
|
|
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
# ifdef GLM_STATIC_CONST_MEMBERS |
|
|
|
const tvec4<T, P> tvec4<T, P>::X = |
|
|
|
template <typename T, precision P> |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
const tvec4<T, P> tvec4<T, P>::ZERO = |
|
|
|
|
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::Y = |
|
|
|
const tvec4<T, P> tvec4<T, P>::X = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::Z = |
|
|
|
const tvec4<T, P> tvec4<T, P>::Y = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::W = |
|
|
|
const tvec4<T, P> tvec4<T, P>::Z = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XY = |
|
|
|
const tvec4<T, P> tvec4<T, P>::W = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XZ = |
|
|
|
const tvec4<T, P> tvec4<T, P>::XY = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(0), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::XZ = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::YZ = |
|
|
|
const tvec4<T, P> tvec4<T, P>::XW = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::YW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::YZ = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::ZW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::YW = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XYZ = |
|
|
|
const tvec4<T, P> tvec4<T, P>::ZW = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(0), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XYW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::XYZ = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(1), static_cast<T>(0)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XZW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::XYW = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(0), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::YZW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::XZW = |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(0), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
template <typename T, precision P> |
|
|
|
const tvec4<T, P> tvec4<T, P>::XYZW = |
|
|
|
const tvec4<T, P> tvec4<T, P>::YZW = |
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
tvec4<T, P>(static_cast<T>(0), static_cast<T>(1), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <typename T, precision P> |
|
|
|
|
|
|
|
const tvec4<T, P> tvec4<T, P>::XYZW = |
|
|
|
|
|
|
|
tvec4<T, P>(static_cast<T>(1), static_cast<T>(1), static_cast<T>(1), static_cast<T>(1)); |
|
|
|
|
|
|
|
# endif |
|
|
|
// -- Implicit basic constructors -- |
|
|
|
// -- Implicit basic constructors -- |
|
|
|
|
|
|
|
|
|
|
|
# if !GLM_HAS_DEFAULTED_FUNCTIONS || !defined(GLM_FORCE_NO_CTOR_INIT) |
|
|
|
# if !GLM_HAS_DEFAULTED_FUNCTIONS || !defined(GLM_FORCE_NO_CTOR_INIT) |
|
|
|