Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::SGUtil Class Referencefinal

#include <SGUtil.h>

Static Public Member Functions

static void genArray2dStrata (math::Vector2R *out_coordArray2Ds, std::size_t numXs, std::size_t numYs)
 
static void genArray2dLatinHypercube (math::Vector2R *out_coordArray2Ds, std::size_t num2Ds)
 
template<typename T >
static void shuffleDurstenfeld (T *out_array, std::size_t arraySize)
 

Member Function Documentation

◆ genArray2dLatinHypercube()

void ph::SGUtil::genArray2dLatinHypercube ( math::Vector2R * out_coordArray2Ds,
std::size_t num2Ds )
static

◆ genArray2dStrata()

void ph::SGUtil::genArray2dStrata ( math::Vector2R * out_coordArray2Ds,
std::size_t numXs,
std::size_t numYs )
static

◆ shuffleDurstenfeld()

template<typename T >
void ph::SGUtil::shuffleDurstenfeld ( T * out_array,
std::size_t arraySize )
static

The documentation for this class was generated from the following files: