tavli

diff src/meshgen.h @ 12:ae1c60726c41

better pieces
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 27 Jun 2015 13:53:43 +0300
parents a8e26f163f99
children
line diff
     1.1 --- a/src/meshgen.h	Sat Jun 27 08:01:51 2015 +0300
     1.2 +++ b/src/meshgen.h	Sat Jun 27 13:53:43 2015 +0300
     1.3 @@ -11,6 +11,8 @@
     1.4  void gen_plane(Mesh *mesh, float width, float height, int usub = 1, int vsub = 1);
     1.5  void gen_heightmap(Mesh *mesh, float width, float height, int usub, int vsub, float (*hf)(float, float, void*), void *hfdata = 0);
     1.6  void gen_box(Mesh *mesh, float xsz, float ysz, float zsz);
     1.7 -void gen_revol(Mesh *mesh, int usub, int vsub, Vector2 (*rfunc)(float, float, void*), void *cls);
     1.8 +
     1.9 +void gen_revol(Mesh *mesh, int usub, int vsub, Vector2 (*rfunc)(float, float, void*), void *cls = 0);
    1.10 +void gen_revol(Mesh *mesh, int usub, int vsub, Vector2 (*rfunc)(float, float, void*), Vector2 (*nfunc)(float, float, void*), void *cls);
    1.11  
    1.12  #endif	// MESHGEN_H_