Lines Matching refs:weights
414 void *data[4], GLfloat weights[4], int needed ) in CallCombine()
424 CALL_COMBINE_OR_COMBINE_DATA( coords, data, weights, &isect->data ); in CallCombine()
447 GLfloat weights[4] = { 0.5, 0.5, 0.0, 0.0 }; in SpliceMergeVertices() local
451 CallCombine( tess, e1->Org, data, weights, FALSE ); in SpliceMergeVertices()
456 GLfloat *weights ) in VertexWeights() argument
468 weights[0] = 0.5 * t2 / (t1 + t2); in VertexWeights()
469 weights[1] = 0.5 * t1 / (t1 + t2); in VertexWeights()
470 isect->coords[0] += weights[0]*org->coords[0] + weights[1]*dst->coords[0]; in VertexWeights()
471 isect->coords[1] += weights[0]*org->coords[1] + weights[1]*dst->coords[1]; in VertexWeights()
472 isect->coords[2] += weights[0]*org->coords[2] + weights[1]*dst->coords[2]; in VertexWeights()
486 GLfloat weights[4]; in GetIntersectData() local
494 VertexWeights( isect, orgUp, dstUp, &weights[0] ); in GetIntersectData()
495 VertexWeights( isect, orgLo, dstLo, &weights[2] ); in GetIntersectData()
497 CallCombine( tess, isect, data, weights, TRUE ); in GetIntersectData()