48inline Type SoXtAbs(Type Val) {
49 return (Val < 0) ? -Val : Val;
53inline Type SoXtMin(Type a, Type b) {
54 return (b < a) ? b : a;
58inline Type SoXtMax(Type a, Type b) {
59 return (b > a) ? b : a;
63inline Type SoXtClamp(Type val, Type min, Type max) {
64 return SoXtMax(min, SoXtMin(max, val));
68inline void SoXtSwap(Type & a, Type & b) {
69 Type t = a; a = b; b = t;
76#if ! defined(SOXT_MAJOR_VERSION)
77#define SOXT_MAJOR_VERSION 1
79#if ! defined(SOXT_MINOR_VERSION)
80#define SOXT_MINOR_VERSION 4
82#if ! defined(SOXT_MICRO_VERSION)
83#define SOXT_MICRO_VERSION 1
85#if ! defined(SOXT_BETA_VERSION)
86#define SOXT_BETA_VERSION
88#if ! defined(SOXT_VERSION)
89#define SOXT_VERSION "1.4.1"
96# error Leave the internal SOXT_DLL_API define alone.
128#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__)
131# define SOXT_DLL_API __declspec(dllexport)
135# define SOXT_DLL_API __declspec(dllimport)
138# error Define either SOXT_DLL or SOXT_NOT_DLL as appropriate for your linkage! See Inventor/Xt/SoXtBasic.h for further instructions.
149#ifndef GUI_TOOLKIT_VERSION
150#define GUI_TOOLKIT_VERSION "238"