Clutter Engine 0.0.1
Loading...
Searching...
No Matches
compute_vector_relational.hpp
1#pragma once
2
3//#include "compute_common.hpp"
4#include "setup.hpp"
5#include <limits>
6
7namespace glm{
8namespace detail
9{
10 template <typename T, bool isFloat>
12 {
13 GLM_FUNC_QUALIFIER GLM_CONSTEXPR static bool call(T a, T b)
14 {
15 return a == b;
16 }
17 };
18/*
19 template <typename T>
20 struct compute_equal<T, true>
21 {
22 GLM_FUNC_QUALIFIER GLM_CONSTEXPR static bool call(T a, T b)
23 {
24 return detail::compute_abs<T, std::numeric_limits<T>::is_signed>::call(b - a) <= static_cast<T>(0);
25 //return std::memcmp(&a, &b, sizeof(T)) == 0;
26 }
27 };
28*/
29}//namespace detail
30}//namespace glm
detail namespace with internal helper functions
Definition json.h:249
Core features
Definition common.hpp:21
Definition compute_vector_relational.hpp:12