Lines Matching refs:emaj
89 struct edge emaj; member
347 setup->emaj.dx = setup->vmax[0][0] - setup->vmin[0][0]; in setup_sort_vertices()
348 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
363 const float area = (setup->emaj.dx * setup->ebot.dy - in setup_sort_vertices()
364 setup->ebot.dx * setup->emaj.dy); in setup_sort_vertices()
489 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_linear_coeff()
490 float b = setup->emaj.dx * botda - majda * setup->ebot.dx; in tri_linear_coeff()
547 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_persp_coeff()
548 float b = setup->emaj.dx * botda - majda * setup->ebot.dx; in tri_persp_coeff()
685 setup->emaj.sy = ceilf(vmin_y); in setup_tri_edges()
686 setup->emaj.lines = (int) ceilf(vmax_y - setup->emaj.sy); in setup_tri_edges()
687 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges()
688 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy; in setup_tri_edges()
848 subtriangle( setup, &setup->emaj, &setup->ebot, setup->ebot.lines ); in sp_setup_tri()
849 subtriangle( setup, &setup->emaj, &setup->etop, setup->etop.lines ); in sp_setup_tri()
854 subtriangle( setup, &setup->ebot, &setup->emaj, setup->ebot.lines ); in sp_setup_tri()
855 subtriangle( setup, &setup->etop, &setup->emaj, setup->etop.lines ); in sp_setup_tri()
906 const float dadx = da * setup->emaj.dx * setup->oneoverarea; in line_linear_coeff()
907 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_linear_coeff()
930 const float dadx = da * setup->emaj.dx * setup->oneoverarea; in line_persp_coeff()
931 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_persp_coeff()
964 setup->emaj.dx = setup->vmax[0][0] - setup->vmin[0][0]; in setup_line_coefficients()
965 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_line_coefficients()
968 area = setup->emaj.dx * setup->emaj.dx + setup->emaj.dy * setup->emaj.dy; in setup_line_coefficients()