mirror of
https://github.com/BlackMATov/vmath.hpp.git
synced 2025-12-13 12:15:56 +07:00
rlength and rlength2 functions
This commit is contained in:
18
README.md
18
README.md
@@ -1302,9 +1302,15 @@ constexpr T dot(T x, T y) noexcept;
|
||||
template < arithmetic T >
|
||||
constexpr T length(T x) noexcept;
|
||||
|
||||
template < arithmetic T >
|
||||
constexpr T rlength(T x) noexcept;
|
||||
|
||||
template < arithmetic T >
|
||||
constexpr T length2(T x) noexcept;
|
||||
|
||||
template < arithmetic T >
|
||||
constexpr T rlength2(T x) noexcept;
|
||||
|
||||
template < arithmetic T >
|
||||
constexpr T distance(T x, T y) noexcept;
|
||||
|
||||
@@ -1324,9 +1330,15 @@ constexpr T dot(const vec<T, Size>& xs, const vec<T, Size>& ys);
|
||||
template < typename T, size_t Size >
|
||||
T length(const vec<T, Size>& xs);
|
||||
|
||||
template < typename T, size_t Size >
|
||||
T rlength(const vec<T, Size>& xs);
|
||||
|
||||
template < typename T, size_t Size >
|
||||
constexpr T length2(const vec<T, Size>& xs);
|
||||
|
||||
template < typename T, size_t Size >
|
||||
constexpr T rlength2(const vec<T, Size>& xs);
|
||||
|
||||
template < typename T, size_t Size >
|
||||
T distance(const vec<T, Size>& xs, const vec<T, Size>& ys);
|
||||
|
||||
@@ -1352,9 +1364,15 @@ constexpr T dot(const qua<T>& xs, const qua<T>& ys);
|
||||
template < typename T >
|
||||
T length(const qua<T>& xs);
|
||||
|
||||
template < typename T >
|
||||
T rlength(const qua<T>& xs);
|
||||
|
||||
template < typename T >
|
||||
constexpr T length2(const qua<T>& xs);
|
||||
|
||||
template < typename T >
|
||||
constexpr T rlength2(const qua<T>& xs);
|
||||
|
||||
template < typename T >
|
||||
T distance(const qua<T>& xs, const qua<T>& ys);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user