qglengine: direct primitive editor
git-svn-id: svn://db.shs.com.ru/libs@687 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -29,13 +29,13 @@ Mesh * plane(float width = 1., float length = 1.);
|
||||
|
||||
Mesh * cube(float width = 1., float length = 1., float height = 1.);
|
||||
|
||||
Mesh * ellipsoid(int segments_wl, int segments_h, float width = 1., float length = 1., float height = 1.);
|
||||
Mesh * ellipsoid(int segments_wl, int segments_h, float width = 1., float length = 1., float height = 1., float end_angle = 360.);
|
||||
|
||||
Mesh * disc(int segments, float width = 1., float length = 1., bool up = true, float end_angle = 360.);
|
||||
Mesh * disc(int segments, float width = 1., float length = 1., float end_angle = 360.);
|
||||
|
||||
Mesh * cone(int segments, float width = 1., float length = 1., float height = 1.);
|
||||
|
||||
Mesh * cylinder(int segments, float width = 1., float length = 1., float height = 1.);
|
||||
Mesh * cylinder(int segments, float width = 1., float length = 1., float height = 1., float end_angle = 360.);
|
||||
|
||||
Mesh * arrow(int segments = 16, float thick = 0.04, float angle = 30.); // length = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user