src/sampler.cc
branchpyrit
changeset 48 a4913301c626
parent 47 320d5d466864
child 49 558fde7da82a
equal deleted inserted replaced
47:320d5d466864 48:a4913301c626
    26 
    26 
    27 #include <math.h>
    27 #include <math.h>
    28 
    28 
    29 #include "common.h"
    29 #include "common.h"
    30 #include "scene.h"
    30 #include "scene.h"
       
    31 
       
    32 void DefaultSampler::init()
       
    33 {
       
    34 	phase = 0;
       
    35 }
    31 
    36 
    32 int DefaultSampler::initSampleSet()
    37 int DefaultSampler::initSampleSet()
    33 {
    38 {
    34 	if ( phase == 0 )
    39 	if ( phase == 0 )
    35 	{
    40 	{