Reduced dependencies for GTC extensions

This commit is contained in:
Christophe Riccio
2013-12-24 13:45:14 +01:00
parent 6f7eb97b87
commit 950eaa45cb
44 changed files with 408 additions and 283 deletions

View File

@@ -38,7 +38,7 @@
#define GLM_GTC_matrix_access
// Dependency:
#include "../glm.hpp"
#include "../detail/setup.hpp"
#if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
# pragma message("GLM: GLM_GTC_matrix_access extension included")
@@ -51,32 +51,32 @@ namespace glm
/// Get a specific row of a matrix.
/// @see gtc_matrix_access
template <typename genType>
template <typename genType>
typename genType::row_type row(
genType const & m,
typename genType::size_type const & index);
length_t const & index);
/// Set a specific row to a matrix.
/// @see gtc_matrix_access
template <typename genType>
template <typename genType>
genType row(
genType const & m,
typename genType::size_type const & index,
genType const & m,
length_t const & index,
typename genType::row_type const & x);
/// Get a specific column of a matrix.
/// @see gtc_matrix_access
template <typename genType>
template <typename genType>
typename genType::col_type column(
genType const & m,
typename genType::size_type const & index);
genType const & m,
length_t const & index);
/// Set a specific column to a matrix.
/// @see gtc_matrix_access
template <typename genType>
template <typename genType>
genType column(
genType const & m,
typename genType::size_type const & index,
genType const & m,
length_t const & index,
typename genType::col_type const & x);
/// @}