Fixed missing value_type for dual quaternion, Fixed return type of dual quaternion length
This commit is contained in:
@@ -57,13 +57,13 @@ namespace detail
|
|||||||
struct tdualquat
|
struct tdualquat
|
||||||
{
|
{
|
||||||
enum ctor{null};
|
enum ctor{null};
|
||||||
|
typedef T value_type;
|
||||||
typedef glm::detail::tquat<T, P> part_type;
|
typedef glm::detail::tquat<T, P> part_type;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
glm::detail::tquat<T, P> real, dual;
|
glm::detail::tquat<T, P> real, dual;
|
||||||
|
|
||||||
GLM_FUNC_DECL GLM_CONSTEXPR int length() const;
|
GLM_FUNC_DECL GLM_CONSTEXPR length_t length() const;
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
GLM_FUNC_DECL tdualquat();
|
GLM_FUNC_DECL tdualquat();
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ namespace glm{
|
|||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
template <typename T, precision P>
|
template <typename T, precision P>
|
||||||
GLM_FUNC_QUALIFIER GLM_CONSTEXPR int tdualquat<T, P>::length() const
|
GLM_FUNC_QUALIFIER GLM_CONSTEXPR length_t tdualquat<T, P>::length() const
|
||||||
{
|
{
|
||||||
return 8;
|
return 8;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ http://glm.g-truc.net/glm.pdf
|
|||||||
GLM 0.9.5.5: 2014-XX-XX
|
GLM 0.9.5.5: 2014-XX-XX
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
- Fixed std::nextafter not supported with C++11 on Android #213
|
- Fixed std::nextafter not supported with C++11 on Android #213
|
||||||
|
- Fixed missing value_type for dual quaternion
|
||||||
|
- Fixed return type of dual quaternion length
|
||||||
|
|
||||||
================================================================================
|
================================================================================
|
||||||
GLM 0.9.5.4: 2014-06-21
|
GLM 0.9.5.4: 2014-06-21
|
||||||
|
|||||||
Reference in New Issue
Block a user