|
@@ -64,16 +64,11 @@ namespace glm
|
|
|
|
|
|
|
|
template <typename T, precision P>
|
|
template <typename T, precision P>
|
|
|
GLM_FUNC_QUALIFIER tvec2<T, P>::tvec2()
|
|
GLM_FUNC_QUALIFIER tvec2<T, P>::tvec2()
|
|
|
-# ifndef GLM_FORCE_NO_CTOR_INIT
|
|
|
|
|
|
|
+# ifndef GLM_FORCE_NO_CTOR_INIT
|
|
|
: x(0), y(0)
|
|
: x(0), y(0)
|
|
|
# endif
|
|
# endif
|
|
|
{}
|
|
{}
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- GLM_FUNC_QUALIFIER tvec2<T, P>::tvec2(tvec2<T, P> const & v)
|
|
|
|
|
- : x(v.x), y(v.y)
|
|
|
|
|
- {}
|
|
|
|
|
-
|
|
|
|
|
template <typename T, precision P>
|
|
template <typename T, precision P>
|
|
|
template <precision Q>
|
|
template <precision Q>
|
|
|
GLM_FUNC_QUALIFIER tvec2<T, P>::tvec2(tvec2<T, Q> const & v)
|
|
GLM_FUNC_QUALIFIER tvec2<T, P>::tvec2(tvec2<T, Q> const & v)
|
|
@@ -141,14 +136,6 @@ namespace glm
|
|
|
//////////////////////////////////////
|
|
//////////////////////////////////////
|
|
|
// Unary arithmetic operators
|
|
// Unary arithmetic operators
|
|
|
|
|
|
|
|
- template <typename T, precision P>
|
|
|
|
|
- GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator=(tvec2<T, P> const & v)
|
|
|
|
|
- {
|
|
|
|
|
- this->x = v.x;
|
|
|
|
|
- this->y = v.y;
|
|
|
|
|
- return *this;
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
template <typename T, precision P>
|
|
template <typename T, precision P>
|
|
|
template <typename U>
|
|
template <typename U>
|
|
|
GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator=(tvec2<U, P> const & v)
|
|
GLM_FUNC_QUALIFIER tvec2<T, P> & tvec2<T, P>::operator=(tvec2<U, P> const & v)
|