Improvements to camera.set_background_from_func, and incremental progress on WindingNumber

This commit is contained in:
Sridhar Ramesh
2018-01-31 17:17:58 -08:00
parent 717b3f9b80
commit 8a5ce2ced8
5 changed files with 139 additions and 63 deletions

View File

@ -638,3 +638,6 @@ class DictAsObject(object):
def __init__(self, dict):
self.__dict__ = dict
# Just to have a less heavyweight name for this extremely common operation
def fdiv(a, b):
return np.true_divide(a,b)