Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sobol.h « scene « cycles « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c1c78fba3db0a069d2cbb02f4b1cbb713587dcef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* SPDX-License-Identifier: Apache-2.0
 * Copyright 2011-2022 Blender Foundation */

#ifndef __SOBOL_H__
#define __SOBOL_H__

#include "util/types.h"

CCL_NAMESPACE_BEGIN

#define SOBOL_BITS 32
#define SOBOL_MAX_DIMENSIONS 21201

void sobol_generate_direction_vectors(uint vectors[][SOBOL_BITS], int dimensions);

CCL_NAMESPACE_END

#endif /* __SOBOL_H__ */