Functions
gthree_geometry_new_box ()
GthreeGeometry *
gthree_geometry_new_box (float width
,
float height
,
float depth
,
int width_segments
,
int height_segments
,
int depth_segments
);
gthree_geometry_new_cylinder ()
GthreeGeometry *
gthree_geometry_new_cylinder (float radius
,
float length
);
gthree_geometry_new_cylinder_full ()
GthreeGeometry *
gthree_geometry_new_cylinder_full (float radiusTop
,
float radiusBottom
,
float height
,
int radialSegments
,
int heightSegments
,
gboolean openEnded
,
float thetaStart
,
float thetaLength
);
gthree_geometry_new_plane ()
GthreeGeometry *
gthree_geometry_new_plane (float width
,
float height
,
int width_segments
,
int height_segments
);
gthree_geometry_new_sphere ()
GthreeGeometry *
gthree_geometry_new_sphere (float radius
,
int widthSegments
,
int heightSegments
);
gthree_geometry_new_sphere_full ()
GthreeGeometry *
gthree_geometry_new_sphere_full (float radius
,
int widthSegments
,
int heightSegments
,
float phiStart
,
float phiLength
,
float thetaStart
,
float thetaLength
);
gthree_geometry_new_torus ()
GthreeGeometry *
gthree_geometry_new_torus (float radius
,
float tube
);
gthree_geometry_new_torus_full ()
GthreeGeometry *
gthree_geometry_new_torus_full (float radius
,
float tube
,
int radialSegments
,
int tubularSegments
,
float arc
);
gthree_geometry_set_draw_range ()
void
gthree_geometry_set_draw_range (GthreeGeometry *geometry
,
int start
,
int count
);
gthree_geometry_get_draw_range_count ()
int
gthree_geometry_get_draw_range_count (GthreeGeometry *geometry
);
gthree_geometry_get_draw_range_start ()
int
gthree_geometry_get_draw_range_start (GthreeGeometry *geometry
);
gthree_geometry_add_group ()
void
gthree_geometry_add_group (GthreeGeometry *geometry
,
int start
,
int count
,
int material_index
);
gthree_geometry_add_morph_attribute ()
void
gthree_geometry_add_morph_attribute (GthreeGeometry *geometry
,
const char *name
,
GthreeAttribute *attribute
);
gthree_geometry_has_attribute ()
gboolean
gthree_geometry_has_attribute (GthreeGeometry *geometry
,
const char *name
);
gthree_geometry_has_morph_attributes ()
gboolean
gthree_geometry_has_morph_attributes (GthreeGeometry *geometry
);
gthree_geometry_get_morph_attributes ()
GPtrArray *
gthree_geometry_get_morph_attributes (GthreeGeometry *geometry
,
const char *name
);
gthree_geometry_get_morph_attributes_names ()
GList *
gthree_geometry_get_morph_attributes_names
(GthreeGeometry *geometry
);
gthree_geometry_remove_attribute ()
void
gthree_geometry_remove_attribute (GthreeGeometry *geometry
,
const char *name
);
gthree_geometry_remove_morph_attributes ()
void
gthree_geometry_remove_morph_attributes
(GthreeGeometry *geometry
,
const char *name
);
gthree_geometry_clear_groups ()
void
gthree_geometry_clear_groups (GthreeGeometry *geometry
);
gthree_geometry_get_n_groups ()
int
gthree_geometry_get_n_groups (GthreeGeometry *geometry
);
gthree_geometry_get_position_count ()
int
gthree_geometry_get_position_count (GthreeGeometry *geometry
);
gthree_geometry_get_vertex_count ()
int
gthree_geometry_get_vertex_count (GthreeGeometry *geometry
);
gthree_geometry_invalidate_bounds ()
void
gthree_geometry_invalidate_bounds (GthreeGeometry *geometry
);
gthree_geometry_compute_vertex_normals ()
void
gthree_geometry_compute_vertex_normals
(GthreeGeometry *geometry
);
gthree_geometry_normalize_normals ()
void
gthree_geometry_normalize_normals (GthreeGeometry *geometry
);