Synopsis
G3DObject* g3d_primitive_cylinder (gfloat radius,
gfloat height,
guint32 sides,
gboolean top,
gboolean bottom,
G3DMaterial *material);
G3DObject* g3d_primitive_tube (gfloat r_in,
gfloat r_out,
gfloat height,
guint32 sides,
gboolean top,
gboolean bottom,
G3DMaterial *material);
Details
g3d_primitive_cylinder ()
G3DObject* g3d_primitive_cylinder (gfloat radius,
gfloat height,
guint32 sides,
gboolean top,
gboolean bottom,
G3DMaterial *material);
radius : |
|
height : |
|
sides : |
|
top : |
|
bottom : |
|
material : |
|
Returns : |
|
g3d_primitive_tube ()
G3DObject* g3d_primitive_tube (gfloat r_in,
gfloat r_out,
gfloat height,
guint32 sides,
gboolean top,
gboolean bottom,
G3DMaterial *material);
r_in : |
|
r_out : |
|
height : |
|
sides : |
|
top : |
|
bottom : |
|
material : |
|
Returns : |
|