mirror of
https://github.com/g-truc/glm.git
synced 2024-11-26 18:24:35 +00:00
Clean up
This commit is contained in:
parent
0b39c3b911
commit
6a50a87a75
@ -52,15 +52,15 @@ namespace glm
|
||||
/// @see gtc_matrix_access
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL typename genType::row_type row(
|
||||
genType const & m,
|
||||
length_t const & index);
|
||||
genType const & m,
|
||||
length_t index);
|
||||
|
||||
/// Set a specific row to a matrix.
|
||||
/// @see gtc_matrix_access
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType row(
|
||||
genType const & m,
|
||||
length_t const & index,
|
||||
length_t index,
|
||||
typename genType::row_type const & x);
|
||||
|
||||
/// Get a specific column of a matrix.
|
||||
@ -68,14 +68,14 @@ namespace glm
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL typename genType::col_type column(
|
||||
genType const & m,
|
||||
length_t const & index);
|
||||
length_t index);
|
||||
|
||||
/// Set a specific column to a matrix.
|
||||
/// @see gtc_matrix_access
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType column(
|
||||
genType const & m,
|
||||
length_t const & index,
|
||||
length_t index,
|
||||
typename genType::col_type const & x);
|
||||
|
||||
/// @}
|
||||
|
@ -32,7 +32,7 @@ namespace glm
|
||||
GLM_FUNC_QUALIFIER genType row
|
||||
(
|
||||
genType const & m,
|
||||
length_t const & index,
|
||||
length_t index,
|
||||
typename genType::row_type const & x
|
||||
)
|
||||
{
|
||||
@ -48,7 +48,7 @@ namespace glm
|
||||
GLM_FUNC_QUALIFIER typename genType::row_type row
|
||||
(
|
||||
genType const & m,
|
||||
length_t const & index
|
||||
length_t index
|
||||
)
|
||||
{
|
||||
assert(index >= 0 && static_cast<detail::component_count_t>(index) < detail::component_count(m[0]));
|
||||
@ -63,7 +63,7 @@ namespace glm
|
||||
GLM_FUNC_QUALIFIER genType column
|
||||
(
|
||||
genType const & m,
|
||||
length_t const & index,
|
||||
length_t index,
|
||||
typename genType::col_type const & x
|
||||
)
|
||||
{
|
||||
@ -78,7 +78,7 @@ namespace glm
|
||||
GLM_FUNC_QUALIFIER typename genType::col_type column
|
||||
(
|
||||
genType const & m,
|
||||
length_t const & index
|
||||
length_t index
|
||||
)
|
||||
{
|
||||
assert(index >= 0 && static_cast<detail::component_count_t>(index) < detail::component_count(m));
|
||||
|
@ -61,9 +61,8 @@ namespace glm
|
||||
/// @param m Input matrix to invert transpose.
|
||||
/// @tparam genType Squared floating-point matrix: half, float or double. Inverse of matrix based of half-precision floating point value is highly innacurate.
|
||||
/// @see gtc_matrix_inverse
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL typename genType::value_type inverseTranspose(
|
||||
genType const & m);
|
||||
template <typename genType>
|
||||
GLM_FUNC_DECL genType inverseTranspose(genType const & m);
|
||||
|
||||
/// @}
|
||||
}//namespace glm
|
||||
|
Loading…
Reference in New Issue
Block a user