MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / isBetween

Function isBetween

include/Core/Utils/MathUtils.hpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107
108 template <typename N, typename N1, typename N2>
109 bool isBetween(const N& target, const N1& lowerBound, const N2& upperBound)
110 {
111 if (target >= lowerBound && target <= upperBound)
112 return true;
113 return false;
114 }
115
116 template <typename T> int sign(T val)
117 {

Callers 5

getHandlePointMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected