Home | History | Annotate | Download | only in functional

Lines Matching defs:xf

408 			const float		xf		= ((float)x - (float)cellX*cellW + 0.5f) / cellW;
414 const bool tri = xf + yf >= 1.0f;
418 const float s = tri ? 1.0f-xf : xf;
547 float xf = (float)x / (float)(gridWidth-1);
550 positions[(y*gridWidth + x)*4 + 0] = 2.0f*xf - 1.0f;
600 float xf = (float)x / (float)(gridWidth-1);
603 float f0 = (xf + yf) * 0.5f;
604 float f1 = 0.5f + (xf - yf) * 0.5f;