Skip to content

Commit

Permalink
Added product declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Riccio committed Oct 24, 2011
1 parent 8d2d112 commit cd1569c
Show file tree
Hide file tree
Showing 9 changed files with 93 additions and 3 deletions.
10 changes: 10 additions & 0 deletions glm/core/type_mat2x2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,16 @@ namespace detail
tmat2x2<T> operator* (
tmat2x2<T> const & m1,
tmat2x2<T> const & m2);

template <typename T>
tmat3x2<T> operator* (
tmat2x2<T> const & m1,
tmat3x2<T> const & m2);

template <typename T>
tmat4x2<T> operator* (
tmat2x2<T> const & m1,
tmat4x2<T> const & m2);

template <typename T>
tmat2x2<T> operator/ (
Expand Down
10 changes: 10 additions & 0 deletions glm/core/type_mat2x3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,20 @@ namespace detail
typename tmat2x3<T>::col_type const & v,
tmat2x3<T> const & m);

template <typename T>
tmat2x3<T> operator* (
tmat2x3<T> const & m1,
tmat2x2<T> const & m2);

template <typename T>
tmat3x3<T> operator* (
tmat2x3<T> const & m1,
tmat3x2<T> const & m2);

template <typename T>
tmat4x3<T> operator* (
tmat2x3<T> const & m1,
tmat4x2<T> const & m2);

template <typename T>
tmat2x3<T> operator/ (
Expand Down
12 changes: 11 additions & 1 deletion glm/core/type_mat2x4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,20 @@ namespace detail
typename tmat2x4<T>::col_type const & v,
tmat2x4<T> const & m);

template <typename T>
tmat4x4<T> operator* (
tmat2x4<T> const & m1,
tmat4x2<T> const & m2);

template <typename T>
tmat2x4<T> operator* (
tmat2x4<T> const & m1,
tmat2x4<T> const & m2);
tmat2x2<T> const & m2);

template <typename T>
tmat3x4<T> operator* (
tmat2x4<T> const & m1,
tmat3x2<T> const & m2);

template <typename T>
tmat2x4<T> operator/ (
Expand Down
10 changes: 10 additions & 0 deletions glm/core/type_mat3x2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,16 @@ namespace detail
tmat2x2<T> operator* (
tmat3x2<T> const & m1,
tmat2x3<T> const & m2);

template <typename T>
tmat3x2<T> operator* (
tmat3x2<T> const & m1,
tmat3x3<T> const & m2);

template <typename T>
tmat4x2<T> operator* (
tmat3x2<T> const & m1,
tmat4x3<T> const & m2);

template <typename T>
tmat3x2<T> operator/ (
Expand Down
10 changes: 10 additions & 0 deletions glm/core/type_mat3x3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,16 @@ namespace detail
tmat3x3<T> operator* (
tmat3x3<T> const & m1,
tmat3x3<T> const & m2);

template <typename T>
tmat2x3<T> operator* (
tmat3x3<T> const & m1,
tmat2x3<T> const & m2);

template <typename T>
tmat4x3<T> operator* (
tmat3x3<T> const & m1,
tmat4x3<T> const & m2);

template <typename T>
tmat3x3<T> operator/ (
Expand Down
10 changes: 10 additions & 0 deletions glm/core/type_mat3x4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,16 @@ namespace detail
tmat4x4<T> operator* (
tmat3x4<T> const & m1,
tmat4x3<T> const & m2);

template <typename T>
tmat2x4<T> operator* (
tmat3x4<T> const & m1,
tmat2x3<T> const & m2);

template <typename T>
tmat3x4<T> operator* (
tmat3x4<T> const & m1,
tmat3x3<T> const & m2);

template <typename T>
tmat3x4<T> operator/ (
Expand Down
14 changes: 12 additions & 2 deletions glm/core/type_mat4x2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,19 @@ namespace detail
typename tmat4x2<T>::col_type const & v,
tmat4x2<T> const & m);

template <typename T>
tmat2x2<T> operator* (
template <typename T>
tmat3x2<T> operator* (
tmat4x2<T> const & m1,
tmat3x4<T> const & m2);

template <typename T>
tmat4x2<T> operator* (
tmat4x2<T> const & m1,
tmat4x4<T> const & m2);

template <typename T>
tmat2x3<T> operator* (
tmat4x3<T> const & m1,
tmat2x4<T> const & m2);

template <typename T>
Expand Down
10 changes: 10 additions & 0 deletions glm/core/type_mat4x3.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,10 +174,20 @@ namespace detail
typename tmat4x3<T>::col_type const & v,
tmat4x3<T> const & m);

template <typename T>
tmat2x3<T> operator* (
tmat4x3<T> const & m1,
tmat2x4<T> const & m2);

template <typename T>
tmat3x3<T> operator* (
tmat4x3<T> const & m1,
tmat3x4<T> const & m2);

template <typename T>
tmat4x3<T> operator* (
tmat4x3<T> const & m1,
tmat4x4<T> const & m2);

template <typename T>
tmat4x3<T> operator/ (
Expand Down
10 changes: 10 additions & 0 deletions glm/core/type_mat4x4.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,16 @@ namespace detail
typename tmat4x4<T>::row_type operator* (
typename tmat4x4<T>::col_type const & v,
tmat4x4<T> const & m);

template <typename T>
tmat2x4<T> operator* (
tmat4x4<T> const & m1,
tmat2x4<T> const & m2);

template <typename T>
tmat3x4<T> operator* (
tmat4x4<T> const & m1,
tmat3x4<T> const & m2);

template <typename T>
tmat4x4<T> operator* (
Expand Down

0 comments on commit cd1569c

Please sign in to comment.