types: Add CLUTTER_VERTEX_INIT_ZERO
Similar to the macros for ClutterPoint, ClutterSize, and ClutterRect.
This commit is contained in:
parent
9b52f9b3f5
commit
a101600c7d
1 changed files with 9 additions and 0 deletions
|
@ -396,6 +396,15 @@ struct _ClutterVertex
|
||||||
*/
|
*/
|
||||||
#define CLUTTER_VERTEX_INIT(x,y,z) { (x), (y), (z) }
|
#define CLUTTER_VERTEX_INIT(x,y,z) { (x), (y), (z) }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* CLUTTER_VERTEX_INIT_ZERO:
|
||||||
|
*
|
||||||
|
* A simple macro for initializing a #ClutterVertex to (0, 0, 0).
|
||||||
|
*
|
||||||
|
* Since: 1.12
|
||||||
|
*/
|
||||||
|
#define CLUTTER_VERTEX_INIT_ZERO CLUTTER_VERTEX_INIT (0.f, 0.f, 0.f)
|
||||||
|
|
||||||
GType clutter_vertex_get_type (void) G_GNUC_CONST;
|
GType clutter_vertex_get_type (void) G_GNUC_CONST;
|
||||||
ClutterVertex *clutter_vertex_new (gfloat x,
|
ClutterVertex *clutter_vertex_new (gfloat x,
|
||||||
gfloat y,
|
gfloat y,
|
||||||
|
|
Loading…
Reference in a new issue