• Home
  • Raw
  • Download

Lines Matching refs:dy

55    float dy;		/**< Y(v1) - Y(v0), used only during setup */  member
347 setup->ebot.dy = setup->vmid[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
349 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
351 setup->etop.dy = setup->vmax[0][1] - setup->vmid[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()
540 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_persp_coeff()
690 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges()
695 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f; in setup_tri_edges()
700 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f; in setup_tri_edges()
927 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_linear_coeff()
951 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_persp_coeff()
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()
1096 int dy = y1 - y0; in sp_setup_line() local
1110 if (dx == 0 && dy == 0) in sp_setup_line()
1129 if (dy < 0) { in sp_setup_line()
1130 dy = -dy; /* make positive */ in sp_setup_line()
1138 assert(dy >= 0); in sp_setup_line()
1163 if (dx > dy) { in sp_setup_line()
1166 const int errorInc = dy + dy; in sp_setup_line()
1187 int error = errorInc - dy; in sp_setup_line()
1188 const int errorDec = error - dy; in sp_setup_line()
1190 for (i = 0; i < dy; i++) { in sp_setup_line()
1350 float dx, dy, dist2, cover; in sp_setup_point() local
1355 dy = (iy + 0.5f) - y; in sp_setup_point()
1356 dist2 = dx * dx + dy * dy; in sp_setup_point()
1364 dy = (iy + 0.5f) - y; in sp_setup_point()
1365 dist2 = dx * dx + dy * dy; in sp_setup_point()
1373 dy = (iy + 1.5f) - y; in sp_setup_point()
1374 dist2 = dx * dx + dy * dy; in sp_setup_point()
1382 dy = (iy + 1.5f) - y; in sp_setup_point()
1383 dist2 = dx * dx + dy * dy; in sp_setup_point()