Cycles: Add fast math function module

It is based on fmath.h from OIIO and could be used to give some speedup
in areas where absolute accuracy is not so critical.
This commit is contained in:
Sergey Sharybin
2015-01-30 17:56:47 +05:00
parent 3dbfebc42c
commit dc1043dda0
5 changed files with 615 additions and 0 deletions

View File

@@ -1010,6 +1010,7 @@ if env['OURPLATFORM']!='darwin':
source.append('intern/cycles/util/util_color.h')
source.append('intern/cycles/util/util_half.h')
source.append('intern/cycles/util/util_math.h')
source.append('intern/cycles/util/util_math_fast.h')
source.append('intern/cycles/util/util_transform.h')
source.append('intern/cycles/util/util_types.h')
scriptinstall.append(env.Install(dir=dir,source=source))