wnoise.h

来自「一个用MATLAB语言编写的摄像机标定工具箱,内容丰富」· C头文件 代码 · 共 27 行

H
27
字号
//
// wnoise.h
//
// $Id: wnoise.h,v 1.1.1.1 2001/02/28 00:28:40 cstolte Exp $
//

// Worley's funky noise functions, siggraph 96

#ifndef SGL_WNOISE_H
#define SGL_WNOISE_H

#include <sgl/defs.h>
#include <sgl/tuples.h>

class Vector3;

extern double wNoise1(const Tuple3d &, double density = 3.0);
extern Vector3 wVNoise1(const Tuple3d &, double density = 3.0);

extern double wNoise2(const Tuple3d &, double density = 3.0);
extern Vector3 wVNoise2(const Tuple3d &, double density = 3.0);

extern double wNoise3(const Tuple3d &, double density = 3.0);
extern Vector3 wVNoise3(const Tuple3d &, double density = 3.0);

#endif // SGL_WNOISE_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?