summaryrefslogtreecommitdiffstats
path: root/depedencies/include/glm/gtx/handed_coordinate_space.inl
diff options
context:
space:
mode:
Diffstat (limited to 'depedencies/include/glm/gtx/handed_coordinate_space.inl')
-rw-r--r--depedencies/include/glm/gtx/handed_coordinate_space.inl27
1 files changed, 0 insertions, 27 deletions
diff --git a/depedencies/include/glm/gtx/handed_coordinate_space.inl b/depedencies/include/glm/gtx/handed_coordinate_space.inl
deleted file mode 100644
index 2e55653..0000000
--- a/depedencies/include/glm/gtx/handed_coordinate_space.inl
+++ /dev/null
@@ -1,27 +0,0 @@
-/// @ref gtx_handed_coordinate_space
-/// @file glm/gtx/handed_coordinate_space.inl
-
-namespace glm
-{
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER bool rightHanded
- (
- tvec3<T, P> const & tangent,
- tvec3<T, P> const & binormal,
- tvec3<T, P> const & normal
- )
- {
- return dot(cross(normal, tangent), binormal) > T(0);
- }
-
- template <typename T, precision P>
- GLM_FUNC_QUALIFIER bool leftHanded
- (
- tvec3<T, P> const & tangent,
- tvec3<T, P> const & binormal,
- tvec3<T, P> const & normal
- )
- {
- return dot(cross(normal, tangent), binormal) < T(0);
- }
-}//namespace glm