summaryrefslogtreecommitdiffstats
path: root/depedencies/include/glm/gtx/perpendicular.inl
diff options
context:
space:
mode:
Diffstat (limited to 'depedencies/include/glm/gtx/perpendicular.inl')
-rw-r--r--depedencies/include/glm/gtx/perpendicular.inl15
1 files changed, 15 insertions, 0 deletions
diff --git a/depedencies/include/glm/gtx/perpendicular.inl b/depedencies/include/glm/gtx/perpendicular.inl
new file mode 100644
index 0000000..08a7a81
--- /dev/null
+++ b/depedencies/include/glm/gtx/perpendicular.inl
@@ -0,0 +1,15 @@
+/// @ref gtx_perpendicular
+/// @file glm/gtx/perpendicular.inl
+
+namespace glm
+{
+ template <typename vecType>
+ GLM_FUNC_QUALIFIER vecType perp
+ (
+ vecType const & x,
+ vecType const & Normal
+ )
+ {
+ return x - proj(x, Normal);
+ }
+}//namespace glm