FlukyEngine
Functions
GLM_GTC_matrix_access

Include <glm/gtc/matrix_access.hpp> to use the features of this extension. More...

Collaboration diagram for GLM_GTC_matrix_access:

Functions

template<typename genType >
GLM_FUNC_DECL genType::row_type glm::row (genType const &m, length_t index)
 Get a specific row of a matrix. More...
 
template<typename genType >
GLM_FUNC_DECL genType glm::row (genType const &m, length_t index, typename genType::row_type const &x)
 Set a specific row to a matrix. More...
 
template<typename genType >
GLM_FUNC_DECL genType::col_type glm::column (genType const &m, length_t index)
 Get a specific column of a matrix. More...
 
template<typename genType >
GLM_FUNC_DECL genType glm::column (genType const &m, length_t index, typename genType::col_type const &x)
 Set a specific column to a matrix. More...
 

Detailed Description

Include <glm/gtc/matrix_access.hpp> to use the features of this extension.

Defines functions to access rows or columns of a matrix easily.

Function Documentation

◆ column() [1/2]

template<typename genType >
GLM_FUNC_DECL genType::col_type glm::column ( genType const &  m,
length_t  index 
)

Get a specific column of a matrix.

See also
GLM_GTC_matrix_access

◆ column() [2/2]

template<typename genType >
GLM_FUNC_DECL genType glm::column ( genType const &  m,
length_t  index,
typename genType::col_type const &  x 
)

Set a specific column to a matrix.

See also
GLM_GTC_matrix_access

◆ row() [1/2]

template<typename genType >
GLM_FUNC_DECL genType::row_type glm::row ( genType const &  m,
length_t  index 
)

Get a specific row of a matrix.

See also
GLM_GTC_matrix_access

◆ row() [2/2]

template<typename genType >
GLM_FUNC_DECL genType glm::row ( genType const &  m,
length_t  index,
typename genType::row_type const &  x 
)

Set a specific row to a matrix.

See also
GLM_GTC_matrix_access