our_dick/include/math/fwd_declare.hpp
2020-08-17 09:33:29 -07:00

52 lines
1.3 KiB
C++

/**
This file is a part of our_dick
Copyright (C) 2020 rexy712
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef REXY_MATH_FWD_DECLARE_HPP
#define REXY_MATH_FWD_DECLARE_HPP
#include <cstdlib> //size_t
namespace math{
template<typename T, size_t R, size_t C>
class matrix;
template<typename T, size_t R>
class vector;
template<typename T>
class quaternion;
template<typename T>
using mat2 = matrix<T,2,2>;
template<typename T>
using mat3 = matrix<T,3,3>;
template<typename T>
using mat4 = matrix<T,4,4>;
template<typename T>
using vec2 = vector<T,2>;
template<typename T>
using vec3 = vector<T,3>;
template<typename T>
using vec4 = vector<T,4>;
template<typename T>
using quat = quaternion<T>;
}
#endif