goat3dgfx

annotate src/texgen.h @ 34:3eb6c8f89fe1

merge
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 02 Mar 2014 17:41:10 +0200
parents 1873dfd13f2d
children
rev   line source
nuclear@0 1 #ifndef TEXGEN_H_
nuclear@0 2 #define TEXGEN_H_
nuclear@0 3
nuclear@0 4 #include "image.h"
nuclear@0 5 #include "vmath/vmath.h"
nuclear@0 6
nuclear@15 7 namespace goatgfx {
nuclear@15 8
nuclear@0 9 Image *texgen_solid(int xsz, int ysz, const Vector4 &color);
nuclear@0 10 Image *texgen_chess(int xsz, int ysz, int usub, int vsub, const Vector4 &col1, const Vector4 &col2);
nuclear@0 11 Image *texgen_fbm(int xsz, int ysz, float usize, float vsize, int octaves, const Vector4 &col1, const Vector4 &col2);
nuclear@0 12 Image *texgen_fbm_abs(int xsz, int ysz, float usize, float vsize, int octaves, const Vector4 &col1, const Vector4 &col2);
nuclear@0 13
nuclear@0 14 Image *texgen(int xsz, int ysz, float usize, float vsize, Vector4 (*eval)(float, float, void*), void *cls);
nuclear@0 15
nuclear@15 16 } // namespace goatgfx
nuclear@15 17
nuclear@0 18 #endif // TEXGEN_H_