62 T temp = (T(i) - 1.0f) / (T(i) + 1.0f);
70 T temp = bbm::safe_sqrt(T(r));
71 target = (1.0f + temp) / (1.0f - temp);
has_attribute_property concept
Definition: attribute.h:65
A warpper class to attach a properties to a class via a property struct. The propert expects by defau...
void convert(reflectance< T > &target, const ior< T > &i)
Definition: ior.h:59
attribute< ior_tag< T > > ior
Definition: ior.h:34
T type
Definition: ior.h:27
Definition: aggregatebsdf.h:29
Base declaration of attribute; further specialized below.
Definition: attribute.h:26
Complex numbers.
Definition: complex.h:22