/** Supported model format version */ export const VERSION = 10 ; /** Maximum number of bone controllers per bone */ export const MAX_PER_BONE_CONTROLLERS = 6 ; /** Flag of texture masking */ export const NF_MASKED = 0x0040 ; /** Number of colors */ export const PALETTE_ENTRIES = 256 ; /** Number of channels for RGB color. Was "PALETTE_CHANNELS" */ export const RGB_SIZE = 3 ; /** Number of channels for RGBA color. Was "PALETTE_CHANNELS_ALPHA" */ export const RGBA_SIZE = 4 ; /** Total size of a palette, in bytes. */ export const PALETTE_SIZE = PALETTE_ENTRIES * RGB_SIZE ; /** The index in a palette where the alpha color is stored. Used for transparent textures. */ export const PALETTE_ALPHA_INDEX = 255 * RGB_SIZE ; /** Number of bones allowed at source movement */ export const MAX_SRCBONES = 512 ; /** Number of axles in 3d space */ export const AXLES_NUM = 3 ; /** Animation value items index constants */ export const enum ANIM_VALUE { VALUE = 0 , VALID , TOTAL } /** Triangle fan type */ export const TRIANGLE_FAN = 0 ; /** Triangle strip type */ export const TRIANGLE_STRIP = 1 ; /** Motion flag X */ export const MOTION_X = 0x0001 ; /** Motion flag Y */ export const MOTION_Y = 0x0002 ; /** Motion flag Z */ export const MOTION_Z = 0x0004 ; /** Controller that wraps shortest distance */ export const RLOOP = 0x8000 ; /** Default interface background color */ export const INITIAL_UI_BACKGROUND = '#4d7f7e' ;