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 glm{
namespace detail namespace detail
{ {
template <typename T, precision P> template <typename T = float, precision P = defaultp>
struct tmat2x2 struct tmat2x2
{ {
// Implementation detail // Implementation detail

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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