Main Page | Modules | Class List | File List | Class Members | File Members

# ximaint.cpp File Reference

`#include "ximage.h"`
`#include "ximath.h"`

## Defines
#define | KM_B (1.0f/3.0f)
#define | KM_C (1.0f/3.0f)
#define | KM_P0 (( 6.0f - 2.0f * KM_B ) / 6.0f)
#define | KM_P2 ((-18.0f + 12.0f * KM_B + 6.0f * KM_C) / 6.0f)
#define | KM_P3 (( 12.0f - 9.0f * KM_B - 6.0f * KM_C) / 6.0f)
#define | KM_Q0 (( 8.0f * KM_B + 24.0f * KM_C) / 6.0f)
#define | KM_Q1 ((-12.0f * KM_B - 48.0f * KM_C) / 6.0f)
#define | KM_Q2 (( 6.0f * KM_B + 30.0f * KM_C) / 6.0f)
#define | KM_Q3 (( -1.0f * KM_B - 6.0f * KM_C) / 6.0f)

## Define Documentation

#define KM_B (1.0f/3.0f)

#define KM_C (1.0f/3.0f)

#define KM_P0 (( 6.0f - 2.0f * KM_B ) / 6.0f)

#define KM_P2 ((-18.0f + 12.0f * KM_B + 6.0f * KM_C) / 6.0f)

#define KM_P3 (( 12.0f - 9.0f * KM_B - 6.0f * KM_C) / 6.0f)

#define KM_Q0 (( 8.0f * KM_B + 24.0f * KM_C) / 6.0f)

#define KM_Q1 ((-12.0f * KM_B - 48.0f * KM_C) / 6.0f)

#define KM_Q2 (( 6.0f * KM_B + 30.0f * KM_C) / 6.0f)

#define KM_Q3 (( -1.0f * KM_B - 6.0f * KM_C) / 6.0f)