kolibrios/programs/games/heliothryx/game/rsnoise.h
alpine 3fdf00fdeb First try.
Techdemo of Heliothryx game
by Roman Shuvalov



git-svn-id: svn://kolibrios.org@5225 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-08 18:32:05 +00:00

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