Added default template arguments to vector and matrix types

This commit is contained in:
Christophe Riccio 2013-09-15 21:00:14 +02:00
parent b72ce6addc
commit 0a23b0a796
13 changed files with 13 additions and 13 deletions

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat2x2
{
// Implementation detail

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat2x3
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat2x4
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat3x2
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat3x3
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat3x4
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat4x2
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat4x3
{
enum ctor{_null};

View File

@ -35,7 +35,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tmat4x4
{
enum ctor{_null};

View File

@ -36,7 +36,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tvec1
{
//////////////////////////////////////

View File

@ -36,7 +36,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tvec2
{
//////////////////////////////////////

View File

@ -36,7 +36,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tvec3
{
//////////////////////////////////////

View File

@ -36,7 +36,7 @@
namespace glm{
namespace detail
{
template <typename T, precision P>
template <typename T = float, precision P = defaultp>
struct tvec4
{
//////////////////////////////////////