Home | History | Annotate | Download | only in softpipe

Lines Matching defs:area

353     * Compute triangle's area.  Use 1/area to compute partial
356 * The area will be the same as prim->det, but the sign may be
363 const float area = (setup->emaj.dx * setup->ebot.dy -
366 setup->oneoverarea = 1.0f / area;
369 debug_printf("%s one-over-area %f area %f det %f\n",
370 __FUNCTION__, setup->oneoverarea, area, det );
953 float area;
967 /* NOTE: this is not really area but something proportional to it */
968 area = setup->emaj.dx * setup->emaj.dx + setup->emaj.dy * setup->emaj.dy;
969 if (area == 0.0f || util_is_inf_or_nan(area))
971 setup->oneoverarea = 1.0f / area;