// ===================================================================================================================== // fennec, a free and open source game engine // Copyright © 2025 Medusa Slockbower // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU 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 General Public License for more details. // // You should have received a copy of the GNU General Public License // along with this program. If not, see . // ===================================================================================================================== #ifndef FENNEC_MATH_DETAIL_FWD_H #define FENNEC_MATH_DETAIL_FWD_H #include namespace fennec { template requires(is_scalar_v) struct vector; // Forward def for vectors template requires(is_scalar_v) struct matrix; // Forward def for matrices // Simplified interface for creating sized vectors or matrices template using vec = decltype(detail::_gen_vector(make_index_metasequence{})); // Gets the type returned by this function template using mat = decltype(detail::_gen_matrix(make_index_metasequence{})); // Gets the type returned by this function } #endif // FENNEC_MATH_DETAIL_FWD_H