kolibrios-fun/programs/games/marblematch3/game/rsnoise.h
alpine bc0cb70b13 New Game: Marble Match-3
Developer: Roman Shuvalov



git-svn-id: svn://kolibrios.org@5235 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-12-16 16:43:37 +00:00

28 lines
561 B
C

#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