Fixed explicit empty constructors for specialized half classes
This commit is contained in:
parent
1839858465
commit
4a93e0ab70
@ -51,7 +51,7 @@ namespace detail
|
|||||||
template <precision P>
|
template <precision P>
|
||||||
struct tvec2<half, P>
|
struct tvec2<half, P>
|
||||||
{
|
{
|
||||||
enum ctor{null};
|
enum ctor{_null};
|
||||||
typedef half value_type;
|
typedef half value_type;
|
||||||
typedef std::size_t size_type;
|
typedef std::size_t size_type;
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ namespace detail
|
|||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
// Explicit basic constructors
|
// Explicit basic constructors
|
||||||
|
|
||||||
explicit tvec2(ctor);
|
explicit tvec2(ctor){}
|
||||||
explicit tvec2(
|
explicit tvec2(
|
||||||
half const & s);
|
half const & s);
|
||||||
explicit tvec2(
|
explicit tvec2(
|
||||||
@ -144,7 +144,7 @@ namespace detail
|
|||||||
template <precision P>
|
template <precision P>
|
||||||
struct tvec3<half, P>
|
struct tvec3<half, P>
|
||||||
{
|
{
|
||||||
enum ctor{null};
|
enum ctor{_null};
|
||||||
typedef half value_type;
|
typedef half value_type;
|
||||||
typedef std::size_t size_type;
|
typedef std::size_t size_type;
|
||||||
GLM_FUNC_DECL size_type length() const;
|
GLM_FUNC_DECL size_type length() const;
|
||||||
@ -172,7 +172,7 @@ namespace detail
|
|||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
// Explicit basic constructors
|
// Explicit basic constructors
|
||||||
|
|
||||||
explicit tvec3(ctor);
|
explicit tvec3(ctor){}
|
||||||
explicit tvec3(
|
explicit tvec3(
|
||||||
half const & s);
|
half const & s);
|
||||||
explicit tvec3(
|
explicit tvec3(
|
||||||
@ -240,7 +240,7 @@ namespace detail
|
|||||||
template <precision P>
|
template <precision P>
|
||||||
struct tvec4<half, P>
|
struct tvec4<half, P>
|
||||||
{
|
{
|
||||||
enum ctor{null};
|
enum ctor{_null};
|
||||||
typedef half value_type;
|
typedef half value_type;
|
||||||
typedef std::size_t size_type;
|
typedef std::size_t size_type;
|
||||||
GLM_FUNC_DECL size_type length() const;
|
GLM_FUNC_DECL size_type length() const;
|
||||||
@ -268,7 +268,7 @@ namespace detail
|
|||||||
//////////////////////////////////////
|
//////////////////////////////////////
|
||||||
// Explicit basic constructors
|
// Explicit basic constructors
|
||||||
|
|
||||||
explicit tvec4(ctor);
|
explicit tvec4(ctor){}
|
||||||
explicit tvec4(
|
explicit tvec4(
|
||||||
half const & s);
|
half const & s);
|
||||||
explicit tvec4(
|
explicit tvec4(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user