| 0.9.7

- Main Page
- Modules
- Files

- File List

matrix_access.hpp
Go to the documentation of this file.
1
41 #pragma once
42
43 // Dependency:
44 #include "../detail/setup.hpp"
45
46 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
47 # pragma message("GLM: GLM_GTC_matrix_access extension included")
48 #endif
49
50 namespace glm
51 {
54
57 template <typename genType>
58 GLM_FUNC_DECL typename genType::row_type row(
59 genType const & m,
60 length_t index);
61
64 template <typename genType>
65 GLM_FUNC_DECL genType row(
66 genType const & m,
67 length_t index,
68 typename genType::row_type const & x);
69
72 template <typename genType>
73 GLM_FUNC_DECL typename genType::col_type column(
74 genType const & m,
75 length_t index);
76
79 template <typename genType>
80 GLM_FUNC_DECL genType column(
81 genType const & m,
82 length_t index,
83 typename genType::col_type const & x);
84
86 }//namespace glm
87
88 #include "matrix_access.inl"
glm::column
GLM_FUNC_DECL genType column(genType const &m, length_t index, typename genType::col_type const &x)
Set a specific column to a matrix.
glm
Definition: _noise.hpp:40
glm::row
GLM_FUNC_DECL genType row(genType const &m, length_t index, typename genType::row_type const &x)
Set a specific row to a matrix.