encoder.js
function deltaEncTypeFloat( fromType, toType ) {
	// Lookup conversion on the downscale table
	for (var i=0; i<NUMTYPE_DELTA_FLOAT.FROM.length; ++i) {
		if ( (NUMTYPE_DELTA_FLOAT.FROM[i] === fromType) && 
			 (NUMTYPE_DELTA_FLOAT.TO[i] === toType) )
			return i;
	}
	// Nothing found
	return undefined;
}
function deltaEncTypeFloat( fromType, toType ) {
	// Lookup conversion on the downscale table
	for (var i=0; i<NUMTYPE_DELTA_FLOAT.FROM.length; ++i) {
		if ( (NUMTYPE_DELTA_FLOAT.FROM[i] === fromType) && 
			 (NUMTYPE_DELTA_FLOAT.TO[i] === toType) )
			return i;
	}
	// Nothing found
	return undefined;
}
function deltaEncTypeFloat ( fromType , toType ) { // Lookup conversion on the downscale table for ( var i = 0 ; i < NUMTYPE_DELTA_FLOAT . FROM . length ; ++ i ) { if ( ( NUMTYPE_DELTA_FLOAT . FROM [ i ] === fromType ) && ( NUMTYPE_DELTA_FLOAT . TO [ i ] === toType ) ) return i ; } // Nothing found return undefined ; }
Pick a matching delta encoding delta for floats
Pick a matching delta encoding delta for floats