Searched refs:sumWeight (Results 1 – 1 of 1) sorted by relevance
55 float sumWeight = 0.0f; in weightedAverage() local60 sumWeight += data.weight; in weightedAverage()63 if (sumWeight == 0.0f) { in weightedAverage()67 return sumValue / sumWeight; in weightedAverage()