Back to Mame

0.9.8: perpendicular.hpp Source File

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

latest1.4 KB
Original Source

| | 0.9.8 |

perpendicular.hpp

Go to the documentation of this file.

1

14 #pragma once

15

16 // Dependency:

17 #include "../glm.hpp"

18 #include "../gtx/projection.hpp"

19

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

21 # pragma message("GLM: GLM_GTX_perpendicular extension included")

22 #endif

23

24 namespace glm

25 {

28

31template <typename vecType>

32 GLM_FUNC_DECL vecType perp(

33 vecType const & x,

34 vecType const & Normal);

35

37 }//namespace glm

38

39 #include "perpendicular.inl"

glm::perp

GLM_FUNC_DECL vecType perp(vecType const &x, vecType const &Normal)

Projects x a perpendicular axis of Normal.

glm

Definition: _noise.hpp:11


Generated by 1.8.10