• Home
  • Raw
  • Download

Lines Matching refs:dy

56    float dy;		/**< Y(v1) - Y(v0), used only during setup */  member
346 setup->ebot.dy = setup->vmid[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
348 setup->emaj.dy = setup->vmax[0][1] - setup->vmin[0][1]; in setup_sort_vertices()
350 setup->etop.dy = setup->vmax[0][1] - setup->vmid[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()
547 float a = setup->ebot.dy * majda - botda * setup->emaj.dy; in tri_persp_coeff()
687 setup->emaj.dxdy = setup->emaj.dy ? setup->emaj.dx / setup->emaj.dy : .0f; in setup_tri_edges()
692 setup->etop.dxdy = setup->etop.dy ? setup->etop.dx / setup->etop.dy : .0f; in setup_tri_edges()
697 setup->ebot.dxdy = setup->ebot.dy ? setup->ebot.dx / setup->ebot.dy : .0f; in setup_tri_edges()
907 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_linear_coeff()
931 const float dady = da * setup->emaj.dy * setup->oneoverarea; in line_persp_coeff()
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()
1074 int dy = y1 - y0; in sp_setup_line() local
1086 if (dx == 0 && dy == 0) in sp_setup_line()
1105 if (dy < 0) { in sp_setup_line()
1106 dy = -dy; /* make positive */ in sp_setup_line()
1114 assert(dy >= 0); in sp_setup_line()
1128 if (dx > dy) { in sp_setup_line()
1131 const int errorInc = dy + dy; in sp_setup_line()
1152 int error = errorInc - dy; in sp_setup_line()
1153 const int errorDec = error - dy; in sp_setup_line()
1155 for (i = 0; i < dy; i++) { in sp_setup_line()
1300 float dx, dy, dist2, cover; in sp_setup_point() local
1305 dy = (iy + 0.5f) - y; in sp_setup_point()
1306 dist2 = dx * dx + dy * dy; in sp_setup_point()
1314 dy = (iy + 0.5f) - y; in sp_setup_point()
1315 dist2 = dx * dx + dy * dy; in sp_setup_point()
1323 dy = (iy + 1.5f) - y; in sp_setup_point()
1324 dist2 = dx * dx + dy * dy; in sp_setup_point()
1332 dy = (iy + 1.5f) - y; in sp_setup_point()
1333 dist2 = dx * dx + dy * dy; in sp_setup_point()