Searched refs:FLOAT_INT_BIAS (Results 1 – 1 of 1) sorted by relevance
63 static const float FLOAT_INT_BIAS = -50.0f; variable168 vec.push_back(VarComp((deInt32)(val*FLOAT_INT_SCALE + FLOAT_INT_BIAS))); in pushVarCompAttrib()187 string floatIntBiasStr = "(" + de::floatToString(FLOAT_INT_BIAS, 3) + ")"; in init()586 deInt32 intR = (deInt32)(r*FLOAT_INT_SCALE + FLOAT_INT_BIAS); in computeReference()587 deInt32 intG = (deInt32)(g*FLOAT_INT_SCALE + FLOAT_INT_BIAS); in computeReference()588 deInt32 intB = (deInt32)(b*FLOAT_INT_SCALE + FLOAT_INT_BIAS); in computeReference()589 r = ((float)intR - FLOAT_INT_BIAS) / FLOAT_INT_SCALE; in computeReference()590 g = ((float)intG - FLOAT_INT_BIAS) / FLOAT_INT_SCALE; in computeReference()591 b = ((float)intB - FLOAT_INT_BIAS) / FLOAT_INT_SCALE; in computeReference()