Math::Vector<2,T> struct full member list
Types
Functions
- Vector()
- Vector(const VectorBase<2, T> &v)
- template Vector(const VectorBase<M, T> &v, T p)
- Vector(T v)
- Vector(T x, T y)
- template Vector(const VectorBase<N, T> &v, unsigned int c0, unsigned int c1)
- bool close_to(const VectorBase<2, T> &m, T error = [...])
- T cross_product(const Vector<2, T> &v) const
- T len() const
- VectorBase<2, T> magnitude(T newlen) const
- VectorBase<2, T> mul(const VectorBase<2, T> &v) const
- VectorBase<2, T> & neg()
- const VectorBase<2, T> & normalize()
- VectorBase<2, T> normalized() const
- T operator*(const VectorBase<2, T> &v) const
- VectorBase<2, T> operator*(T scale) const
- VectorBase<2, T> operator*(const Matrix<N> &m)
- const VectorBase<2, T> & operator*=(T scale)
- VectorBase<2, T> operator+(const VectorBase<2, T> &v) const
- const VectorBase<2, T> & operator+=(const VectorBase<2, T> &v)
- VectorBase<2, T> operator-(const VectorBase<2, T> &v) const
- VectorBase<2, T> operator-() const
- const VectorBase<2, T> & operator-=(const VectorBase<2, T> &v)
- VectorBase<2, T> operator/(T scale) const
- VectorBase<2, T> operator/(const VectorBase<2, T> &v) const
- const VectorBase<2, T> & operator/=(T scale)
- bool operator==(const VectorBase<2, T> &m) const
- T operator[](int n) const
- T & operator[](int n)
- template VectorBase<M, T> select(unsigned int bitmask, const VectorBase<M, T> &v) const
- void set(T value)
- T & x()
- T x() const
- T & y()
- T y() const