mirror of
https://github.com/g-truc/glm.git
synced 2025-04-18 03:05:45 +00:00
Added length implementation
This commit is contained in:
parent
28ea6eb5c4
commit
fa84c6d1b0
1 changed files with 6 additions and 0 deletions
|
@ -31,6 +31,12 @@
|
|||
namespace glm{
|
||||
namespace detail
|
||||
{
|
||||
template <typename T>
|
||||
GLM_FUNC_QUALIFIER typename tquat<T>::size_type tquat<T>::length() const
|
||||
{
|
||||
return 4;
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
GLM_FUNC_QUALIFIER tquat<T>::tquat() :
|
||||
x(0),
|
||||
|
|
Loading…
Add table
Reference in a new issue