library of assembled shared sources |
http://lass.cocamware.com |
Functions | |
template<typename T > | |
const prim::Point3D< T > | lass::num::uniformSphere (const prim::Point2D< T > &sample, T &pdf) |
template<typename T > | |
const prim::Point3D< T > | lass::num::uniformCone (const prim::Point2D< T > &sample, T minCosTheta, T &pdf) |
template<typename T > | |
const prim::Point2D< T > | lass::num::uniformDisk (const prim::Point2D< T > &sample, T &pdf) |
template<typename T > | |
const prim::Point3D< T > | lass::num::cosineHemisphere (const prim::Point2D< T > &sample, T &pdf) |
const prim::Point3D<T> lass::num::uniformSphere | ( | const prim::Point2D< T > & | sample, | |
T & | ||||
) | [inline] |
Definition at line 65 of file distribution_transformations.h.
References lass::num::cos(), lass::num::inv(), lass::num::sin(), lass::num::sqrt(), lass::stde::T, lass::prim::Point2D< T >::x, and lass::prim::Point2D< T >::y.
const prim::Point3D<T> lass::num::uniformCone | ( | const prim::Point2D< T > & | sample, | |
T | minCosTheta, | |||
T & | ||||
) | [inline] |
Definition at line 77 of file distribution_transformations.h.
References lass::num::cos(), lass::num::inv(), lass::num::sin(), lass::num::sqrt(), lass::stde::T, lass::prim::Point2D< T >::x, and lass::prim::Point2D< T >::y.
const prim::Point2D<T> lass::num::uniformDisk | ( | const prim::Point2D< T > & | sample, | |
T & | ||||
) | [inline] |
Definition at line 89 of file distribution_transformations.h.
References lass::num::cos(), lass::num::inv(), lass::num::sin(), lass::stde::T, lass::prim::Point2D< T >::x, and lass::prim::Point2D< T >::y.
Referenced by lass::num::cosineHemisphere().
const prim::Point3D<T> lass::num::cosineHemisphere | ( | const prim::Point2D< T > & | sample, | |
T & | ||||
) | [inline] |
Definition at line 137 of file distribution_transformations.h.
References lass::prim::Point2D< T >::position(), lass::num::sqrt(), lass::stde::T, lass::num::uniformDisk(), lass::prim::Point2D< T >::x, and lass::prim::Point2D< T >::y.
Generated on Mon Nov 10 14:22:06 2008 for Library of Assembled Shared Sources by 1.5.7.1 |