Searched refs:divide_and_pin (Results 1 – 1 of 1) sorted by relevance
46 static inline float divide_and_pin(float numer, float denom, float min, float max) { in divide_and_pin() function505 float zRatio = divide_and_pin(occluderZ, lightZ - occluderZ, 0.0f, 0.95f); in GetSpotParams()507 scale = divide_and_pin(lightZ, lightZ - occluderZ, 1.0f, 1.95f); in GetSpotParams()