Back to Mame

0.9.8: matrix_access.hpp Source File

3rdparty/glm/doc/api/a00061_source.html

latest2.2 KB
Original Source

| | 0.9.8 |

matrix_access.hpp

Go to the documentation of this file.

1

12 #pragma once

13

14 // Dependency:

15 #include "../detail/setup.hpp"

16

17 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)

18 # pragma message("GLM: GLM_GTC_matrix_access extension included")

19 #endif

20

21 namespace glm

22 {

25

28template <typename genType>

29 GLM_FUNC_DECL typename genType::row_type row(

30 genType const & m,

31 length_t index);

32

35template <typename genType>

36 GLM_FUNC_DECL genType row(

37 genType const & m,

38 length_t index,

39typename genType::row_type const & x);

40

43template <typename genType>

44 GLM_FUNC_DECL typename genType::col_type column(

45 genType const & m,

46 length_t index);

47

50template <typename genType>

51 GLM_FUNC_DECL genType column(

52 genType const & m,

53 length_t index,

54typename genType::col_type const & x);

55

57 }//namespace glm

58

59 #include "matrix_access.inl"

glm

Definition: _noise.hpp:11

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.

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.


Generated by 1.8.10