Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039 #ifndef GLM_GTX_perpendicular
00040 #define GLM_GTX_perpendicular 50
00041
00042
00043 #include "../glm.hpp"
00044 #include "../gtx/projection.hpp"
00045
00046 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
00047 # pragma message("GLM: GLM_GTX_perpendicular extension included")
00048 #endif
00049
00050 namespace glm
00051 {
00054
00057 template <typename T>
00058 detail::tvec2<T> perp(
00059 detail::tvec2<T> const & x,
00060 detail::tvec2<T> const & Normal);
00061
00064 template <typename T>
00065 detail::tvec3<T> perp(
00066 detail::tvec3<T> const & x,
00067 detail::tvec3<T> const & Normal);
00068
00071 template <typename T>
00072 detail::tvec4<T> perp(
00073 detail::tvec4<T> const & x,
00074 detail::tvec4<T> const & Normal);
00075
00077 }
00078
00079 #include "perpendicular.inl"
00080
00081 #endif//GLM_GTX_perpendicular