Xors3d Engine
Compare functions

Defines

#define CMP_ALWAYS   8
#define CMP_EQUAL   3
#define CMP_GREATER   5
#define CMP_GREATEREQUAL   7
#define CMP_LESS   2
#define CMP_LESSEQUAL   4
#define CMP_NEVER   1
#define CMP_NOTEQUAL   6

Define Documentation

#define CMP_NEVER   1

Always fail the test.

#define CMP_LESS   2

Accept if value is less than the current value.

#define CMP_EQUAL   3

Accept if value equals the current value.

#define CMP_LESSEQUAL   4

Accept if value is less than or equal to the current value.

#define CMP_GREATER   5

Accept if value is greater than the current value.

#define CMP_NOTEQUAL   6

Accept if value does not equal the current value.

#define CMP_GREATEREQUAL   7

Accept if value is greater than or equal to the current value.

#define CMP_ALWAYS   8

Always pass the test.