nuclear@0: #ifndef TEXGEN_H_ nuclear@0: #define TEXGEN_H_ nuclear@0: nuclear@0: #include "image.h" nuclear@0: #include "vmath/vmath.h" nuclear@0: nuclear@0: Image *texgen_solid(int xsz, int ysz, const Vector4 &color); nuclear@0: Image *texgen_chess(int xsz, int ysz, int usub, int vsub, const Vector4 &col1, const Vector4 &col2); nuclear@0: Image *texgen_fbm(int xsz, int ysz, float usize, float vsize, int octaves, const Vector4 &col1, const Vector4 &col2); nuclear@0: Image *texgen_fbm_abs(int xsz, int ysz, float usize, float vsize, int octaves, const Vector4 &col1, const Vector4 &col2); nuclear@0: nuclear@0: Image *texgen(int xsz, int ysz, float usize, float vsize, Vector4 (*eval)(float, float, void*), void *cls); nuclear@0: nuclear@0: #endif // TEXGEN_H_