Searched refs:reg_slope (Results 1 – 1 of 1) sorted by relevance
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/ |
H A D | r_sky.c | 224 …inc, int rinc, unsigned int twm, byte buf[SKY_WIDTH][SKY_HEIGHT], float reg_slope, float max_slope… in edge_by_slope() argument 296 slope = E_SignedRandom(2048) * (2.0f/2048) * reg_slope; // 0 to 2*reg_slope in edge_by_slope() 301 float signed_reg_slope = (slope < 0)? -reg_slope : reg_slope; in edge_by_slope() 331 slope = proportion( reg_slope, slope, ((er * (0.8f/0xFFFF)) + 0.1f) ); in edge_by_slope() 411 float reg_slope, max_slope, per; in R_Generate_Sky() local 655 reg_slope = proportion( 6.0f, 1.95f, per ); in R_Generate_Sky() 711 …c3 = edge_by_slope( solid_pixel, c1, r1, 1, rinc, twm, buf, reg_slope, max_slope, (r1 - sl_horizo… in R_Generate_Sky() 712 …c4 = edge_by_slope( solid_pixel, c2, r1, -1, rinc, twm, buf, reg_slope, max_slope, (sl_horizon - r… in R_Generate_Sky()
|