Back to Mame

0.9.8: matrix_operation.hpp Source File

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

latest4.0 KB
Original Source

| | 0.9.8 |

matrix_operation.hpp

Go to the documentation of this file.

1

13 #pragma once

14

15 // Dependency:

16 #include "../glm.hpp"

17

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

19 # pragma message("GLM: GLM_GTX_matrix_operation extension included")

20 #endif

21

22 namespace glm

23 {

26

29template <typename T, precision P>

30 GLM_FUNC_DECL tmat2x2<T, P> diagonal2x2(

31 tvec2<T, P> const & v);

32

35template <typename T, precision P>

36 GLM_FUNC_DECL tmat2x3<T, P> diagonal2x3(

37 tvec2<T, P> const & v);

38

41template <typename T, precision P>

42 GLM_FUNC_DECL tmat2x4<T, P> diagonal2x4(

43 tvec2<T, P> const & v);

44

47template <typename T, precision P>

48 GLM_FUNC_DECL tmat3x2<T, P> diagonal3x2(

49 tvec2<T, P> const & v);

50

53template <typename T, precision P>

54 GLM_FUNC_DECL tmat3x3<T, P> diagonal3x3(

55 tvec3<T, P> const & v);

56

59template <typename T, precision P>

60 GLM_FUNC_DECL tmat3x4<T, P> diagonal3x4(

61 tvec3<T, P> const & v);

62

65template <typename T, precision P>

66 GLM_FUNC_DECL tmat4x2<T, P> diagonal4x2(

67 tvec2<T, P> const & v);

68

71template <typename T, precision P>

72 GLM_FUNC_DECL tmat4x3<T, P> diagonal4x3(

73 tvec3<T, P> const & v);

74

77template <typename T, precision P>

78 GLM_FUNC_DECL tmat4x4<T, P> diagonal4x4(

79 tvec4<T, P> const & v);

80

82 }//namespace glm

83

84 #include "matrix_operation.inl"

glm::diagonal4x4

GLM_FUNC_DECL tmat4x4< T, P > diagonal4x4(tvec4< T, P > const &v)

Build a diagonal matrix.

glm

Definition: _noise.hpp:11

glm::diagonal2x4

GLM_FUNC_DECL tmat2x4< T, P > diagonal2x4(tvec2< T, P > const &v)

Build a diagonal matrix.

glm::diagonal3x3

GLM_FUNC_DECL tmat3x3< T, P > diagonal3x3(tvec3< T, P > const &v)

Build a diagonal matrix.

glm::diagonal4x2

GLM_FUNC_DECL tmat4x2< T, P > diagonal4x2(tvec2< T, P > const &v)

Build a diagonal matrix.

glm::diagonal2x3

GLM_FUNC_DECL tmat2x3< T, P > diagonal2x3(tvec2< T, P > const &v)

Build a diagonal matrix.

glm::diagonal2x2

GLM_FUNC_DECL tmat2x2< T, P > diagonal2x2(tvec2< T, P > const &v)

Build a diagonal matrix.

glm::diagonal3x2

GLM_FUNC_DECL tmat3x2< T, P > diagonal3x2(tvec2< T, P > const &v)

Build a diagonal matrix.

glm::diagonal3x4

GLM_FUNC_DECL tmat3x4< T, P > diagonal3x4(tvec3< T, P > const &v)

Build a diagonal matrix.

glm::diagonal4x3

GLM_FUNC_DECL tmat4x3< T, P > diagonal4x3(tvec3< T, P > const &v)

Build a diagonal matrix.


Generated by 1.8.10