• Home
  • Raw
  • Download

Lines Matching refs:emaj

88    struct edge emaj;  member
348 setup->emaj.dx = setup->vmax[0][0] - setup->vmin[0][0]; in setup_sort_vertices()
349 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
364 const float area = (setup->emaj.dx * setup->ebot.dy - in setup_sort_vertices()
365 setup->ebot.dx * setup->emaj.dy); in setup_sort_vertices()
490 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_linear_coeff()
491 float b = setup->emaj.dx * botda - majda * setup->ebot.dx; in tri_linear_coeff()
540 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_persp_coeff()
541 float b = setup->emaj.dx * botda - majda * setup->ebot.dx; in tri_persp_coeff()
688 setup->emaj.sy = ceilf(vmin_y); in setup_tri_edges()
689 setup->emaj.lines = (int) ceilf(vmax_y - setup->emaj.sy); in setup_tri_edges()
690 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges()
691 setup->emaj.sx = vmin_x + (setup->emaj.sy - vmin_y) * setup->emaj.dxdy; in setup_tri_edges()
864 subtriangle(setup, &setup->emaj, &setup->ebot, setup->ebot.lines, viewport_index); in sp_setup_tri()
865 subtriangle(setup, &setup->emaj, &setup->etop, setup->etop.lines, viewport_index); in sp_setup_tri()
870 subtriangle(setup, &setup->ebot, &setup->emaj, setup->ebot.lines, viewport_index); in sp_setup_tri()
871 subtriangle(setup, &setup->etop, &setup->emaj, setup->etop.lines, viewport_index); in sp_setup_tri()
926 const float dadx = da * setup->emaj.dx * setup->oneoverarea; in line_linear_coeff()
927 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_linear_coeff()
950 const float dadx = da * setup->emaj.dx * setup->oneoverarea; in line_persp_coeff()
951 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_persp_coeff()
986 setup->emaj.dx = setup->vmax[0][0] - setup->vmin[0][0]; in setup_line_coefficients()
987 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_line_coefficients()
990 area = setup->emaj.dx * setup->emaj.dx + setup->emaj.dy * setup->emaj.dy; in setup_line_coefficients()