15#ifndef BT_GEN_MINMAX_H
16#define BT_GEN_MINMAX_H
35 return a < lb ? lb : (ub < a ? ub : a);
SIMD_FORCE_INLINE const T & btMin(const T &a, const T &b)
SIMD_FORCE_INLINE void btSetMin(T &a, const T &b)
SIMD_FORCE_INLINE const T & btClamped(const T &a, const T &lb, const T &ub)
SIMD_FORCE_INLINE void btSetMax(T &a, const T &b)
SIMD_FORCE_INLINE const T & btMax(const T &a, const T &b)
SIMD_FORCE_INLINE void btClamp(T &a, const T &lb, const T &ub)
#define SIMD_FORCE_INLINE
local_group_size(16, 16) .push_constant(Type b