Blender Git Commit Log

Git Commits -> Revision 7b873b0

Revision 7b873b0 by Campbell Barton (master)
November 8, 2014, 12:37 (GMT)
Add safe_normalize to cycles, avoid checking length first

This won't give any big speedup,
just avoids redundant sqrtf and may be useful in future.

Differential Revision: https://developer.blender.org/D880

Commit Details:

Full Hash: 7b873b06627d5c56f443d5634d6064e118657082
Parent Commit: 112032f
Lines Changed: +24, -9

3 Modified Paths:

/intern/cycles/render/light.cpp (+4, -7) (Diff)
/intern/cycles/subd/subd_dice.cpp (+2, -2) (Diff)
/intern/cycles/util/util_math.h (+18, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021