Jet
v1.3.3
|
Go to the source code of this file.
Namespaces | |
jet | |
Functions | |
template<typename T > | |
Vector3< T > | jet::uniformSampleCone (T u1, T u2, const Vector3< T > &axis, T angle) |
Returns randomly sampled direction within a cone. More... | |
template<typename T > | |
Vector3< T > | jet::uniformSampleHemisphere (T u1, T u2, const Vector3< T > &normal) |
Returns randomly sampled point within a unit hemisphere. More... | |
template<typename T > | |
Vector3< T > | jet::cosineWeightedSampleHemisphere (T u1, T u2, const Vector3< T > &normal) |
Returns weighted sampled point on a hemisphere. More... | |
template<typename T > | |
Vector3< T > | jet::uniformSampleSphere (T u1, T u2) |
Returns randomly a point on a sphere. More... | |
template<typename T > | |
Vector2< T > | jet::uniformSampleDisk (T u1, T u2) |
Returns randomly a point on a disk. More... | |