1b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG///////////////////////////////////////////////////////////////////////////////////
2b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// OpenGL Mathematics (glm.g-truc.net)
3b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG///
4b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
5b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// Permission is hereby granted, free of charge, to any person obtaining a copy
6b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// of this software and associated documentation files (the "Software"), to deal
7b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// in the Software without restriction, including without limitation the rights
8b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// copies of the Software, and to permit persons to whom the Software is
10b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// furnished to do so, subject to the following conditions:
11b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG///
12b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// The above copyright notice and this permission notice shall be included in
13b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// all copies or substantial portions of the Software.
14b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG///
15b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// THE SOFTWARE.
22b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG///
23b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// @ref core
24b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// @file glm/core/type_mat2x4.hpp
25b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// @date 2006-08-05 / 2011-06-15
26b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG/// @author Christophe Riccio
27b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG///////////////////////////////////////////////////////////////////////////////////
28b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
29b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#ifndef glm_core_type_mat2x4
30b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#define glm_core_type_mat2x4
31b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
32b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#include "../fwd.hpp"
33b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#include "type_vec2.hpp"
34b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#include "type_vec4.hpp"
35b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#include "type_mat.hpp"
36b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#include <limits>
37b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
38b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarGnamespace glm{
39b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarGnamespace detail
40b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG{
41b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
42b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	struct tmat2x4
43b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	{
44b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		enum ctor{_null};
45b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typedef T value_type;
46b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typedef std::size_t size_type;
47b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typedef tvec4<T, P> col_type;
48b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typedef tvec2<T, P> row_type;
49b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typedef tmat2x4<T, P> type;
50b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typedef tmat4x2<T, P> transpose_type;
51b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
52b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL GLM_CONSTEXPR length_t length() const;
53b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
54b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	private:
55b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Data
56b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		col_type value[2];
57b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
58b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	public:
59b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Constructors
60b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4();
61b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4(tmat2x4<T, P> const & m);
62b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <precision Q>
63b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4(tmat2x4<T, Q> const & m);
64b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
65b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(
66b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			ctor);
67b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(
68b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			T const & s);
69b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4(
70b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			T const & x0, T const & y0, T const & z0, T const & w0,
71b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			T const & x1, T const & y1, T const & z1, T const & w1);
72b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4(
73b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			col_type const & v0,
74b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			col_type const & v1);
75b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
76b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		//////////////////////////////////////
77b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Conversions
78b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <
79b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			typename X1, typename Y1, typename Z1, typename W1,
80b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			typename X2, typename Y2, typename Z2, typename W2>
81b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4(
82b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			X1 const & x1, Y1 const & y1, Z1 const & z1, W1 const & w1,
83b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			X2 const & x2, Y2 const & y2, Z2 const & z2, W2 const & w2);
84b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
85b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U, typename V>
86b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4(
87b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			tvec4<U, P> const & v1,
88b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG			tvec4<V, P> const & v2);
89b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
90b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		//////////////////////////////////////
91b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Matrix conversions
92b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U, precision Q>
93b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat2x4<U, Q> const & m);
94b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
95b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat2x2<T, P> const & x);
96b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat3x3<T, P> const & x);
97b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat4x4<T, P> const & x);
98b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat2x3<T, P> const & x);
99b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat3x2<T, P> const & x);
100b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat3x4<T, P> const & x);
101b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat4x2<T, P> const & x);
102b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL explicit tmat2x4(tmat4x3<T, P> const & x);
103b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
104b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Accesses
105b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL col_type & operator[](length_t i);
106b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL col_type const & operator[](length_t i) const;
107b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
108b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Unary updatable operators
109b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator=  (tmat2x4<T, P> const & m);
110b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
111b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator=  (tmat2x4<U, P> const & m);
112b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
113b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator+= (U s);
114b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
115b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator+= (tmat2x4<U, P> const & m);
116b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
117b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator-= (U s);
118b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
119b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator-= (tmat2x4<U, P> const & m);
120b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
121b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator*= (U s);
122b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		template <typename U>
123b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P>& operator/= (U s);
124b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
125b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		//////////////////////////////////////
126b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		// Increment and decrement operators
127b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
128b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P> & operator++ ();
129b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P> & operator-- ();
130b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P> operator++(int);
131b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		GLM_FUNC_DECL tmat2x4<T, P> operator--(int);
132b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	};
133b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
134b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	// Binary operators
135b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
136b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
137b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator+ (
138b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m,
139b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		T const & s);
140b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
141b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
142b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator+ (
143b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m1,
144b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m2);
145b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
146b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
147b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator- (
148b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m,
149b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		T const & s);
150b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
151b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
152b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator- (
153b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m1,
154b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m2);
155b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
156b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
157b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator* (
158b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m,
159b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		T const & s);
160b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
161b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
162b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator* (
163b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		T const & s,
164b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m);
165b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
166b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
167b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL typename tmat2x4<T, P>::col_type operator* (
168b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m,
169b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typename tmat2x4<T, P>::row_type const & v);
170b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
171b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
172b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL typename tmat2x4<T, P>::row_type operator* (
173b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		typename tmat2x4<T, P>::col_type const & v,
174b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m);
175b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
176b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
177b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat4x4<T, P> operator* (
178b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m1,
179b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat4x2<T, P> const & m2);
180b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
181b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
182b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator* (
183b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m1,
184b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x2<T, P> const & m2);
185b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
186b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
187b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat3x4<T, P> operator* (
188b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m1,
189b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat3x2<T, P> const & m2);
190b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
191b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
192b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator/ (
193b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m,
194b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		T const & s);
195b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
196b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
197b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> operator/ (
198b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		T const & s,
199b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m);
200b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
201b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	// Unary constant operators
202b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	template <typename T, precision P>
203b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG	GLM_FUNC_DECL tmat2x4<T, P> const operator- (
204b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG		tmat2x4<T, P> const & m);
205b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
206b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG}//namespace detail
207b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG}//namespace glm
208b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
209b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#ifndef GLM_EXTERNAL_TEMPLATE
210b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#include "type_mat2x4.inl"
211b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#endif
212b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG
213b0b195df6c4343219e339ccb37978e8432a5f871Tony-LunarG#endif //glm_core_type_mat2x4
214