Searched refs:inv_totweight (Results 1 – 1 of 1) sorted by relevance
899 float cur, maxweight = 0.0, tweight, totweight, inv_totweight, co[3], nor[3], orco[3]; in psys_thread_context_init_distribute() local1164 inv_totweight = 1.0f / totweight; in psys_thread_context_init_distribute()1179 element_sum[i_mapped] = element_weight[i] * inv_totweight; in psys_thread_context_init_distribute()1184 element_sum[i_mapped] = element_sum[i_mapped - 1] + element_weight[i] * inv_totweight; in psys_thread_context_init_distribute()