mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-05 06:41:55 +03:00
3fdf00fdeb
Techdemo of Heliothryx game by Roman Shuvalov git-svn-id: svn://kolibrios.org@5225 a494cfbc-eb01-0410-851d-a64ba20cac60
28 lines
561 B
C
Executable File
28 lines
561 B
C
Executable File
#ifndef RS_NOISE_H
|
|
#define RS_NOISE_H
|
|
|
|
#include "rsgame.h"
|
|
|
|
//void rs_model_create_pyramid(rs_vbo_t* vbo);
|
|
|
|
float rs_perlin(float i, float j);
|
|
float rs_quad_noise(float i, float j);
|
|
|
|
float rs_noise(int x, int y);
|
|
float rs_noise_for_perlin(int x, int y);
|
|
|
|
void rs_perlin_configure(float freq, int octaves, float persistence, float seed, int tex_size);
|
|
|
|
typedef struct rs_perlin_conf_t {
|
|
float freq;
|
|
int octaves;
|
|
float persistence;
|
|
float seed;
|
|
int period;
|
|
int tex_size;
|
|
} rs_perlin_conf_t;
|
|
|
|
extern rs_perlin_conf_t rs_perlin_conf;
|
|
|
|
#endif
|