From 6f67371bb1b46579ae837d0e0c61ac1b291be743 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 Jan 2018 07:51:33 +0500 Subject: Directory renamed --- external/include/glm/gtx/perpendicular.inl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 external/include/glm/gtx/perpendicular.inl (limited to 'external/include/glm/gtx/perpendicular.inl') diff --git a/external/include/glm/gtx/perpendicular.inl b/external/include/glm/gtx/perpendicular.inl new file mode 100644 index 0000000..08a7a81 --- /dev/null +++ b/external/include/glm/gtx/perpendicular.inl @@ -0,0 +1,15 @@ +/// @ref gtx_perpendicular +/// @file glm/gtx/perpendicular.inl + +namespace glm +{ + template + GLM_FUNC_QUALIFIER vecType perp + ( + vecType const & x, + vecType const & Normal + ) + { + return x - proj(x, Normal); + } +}//namespace glm -- cgit v1.2.3