Home
last modified time | relevance | path

Searched refs:inv_totweight (Results 1 – 1 of 1) sorted by relevance

/dports/graphics/blender/blender-2.91.0/source/blender/blenkernel/intern/
H A Dparticle_distribute.c899 float cur, maxweight = 0.0, tweight, totweight, inv_totweight, co[3], nor[3], orco[3]; in psys_thread_context_init_distribute() local
1164 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()