annotate src/meshgen.h @ 17:f2da87b02fcd
fixes mostly visual studio stuff
author |
John Tsiombikas <nuclear@member.fsf.org> |
date |
Sun, 01 Dec 2013 02:25:29 +0200 |
parents |
1873dfd13f2d |
children |
|
rev |
line source |
nuclear@0
|
1 #ifndef MESHGEN_H_
|
nuclear@0
|
2 #define MESHGEN_H_
|
nuclear@0
|
3
|
nuclear@15
|
4 namespace goatgfx {
|
nuclear@15
|
5
|
nuclear@0
|
6 class Mesh;
|
nuclear@0
|
7
|
nuclear@0
|
8 void gen_sphere(Mesh *mesh, float rad, int usub, int vsub, float urange = 1.0, float vrange = 1.0);
|
nuclear@0
|
9 void gen_cylinder(Mesh *mesh, float rad, float height, int usub, int vsub, int capsub = 0, float urange = 1.0, float vrange = 1.0);
|
nuclear@0
|
10 void gen_cone(Mesh *mesh, float rad, float height, int usub, int vsub, int capsub = 0, float urange = 1.0, float vrange = 1.0);
|
nuclear@0
|
11 void gen_plane(Mesh *mesh, float width, float height, int usub = 1, int vsub = 1);
|
nuclear@0
|
12
|
nuclear@15
|
13 } // namespace goatgfx
|
nuclear@15
|
14
|
nuclear@0
|
15 #endif // MESHGEN_H_
|