-
Notifications
You must be signed in to change notification settings - Fork 13
/
gthreeambientlight.h
38 lines (26 loc) · 1.15 KB
/
gthreeambientlight.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#ifndef __GTHREE_AMBIENT_LIGHT_H__
#define __GTHREE_AMBIENT_LIGHT_H__
#if !defined (__GTHREE_H_INSIDE__) && !defined (GTHREE_COMPILATION)
#error "Only <gthree/gthree.h> can be included directly."
#endif
#include <gthree/gthreelight.h>
G_BEGIN_DECLS
#define GTHREE_TYPE_AMBIENT_LIGHT (gthree_ambient_light_get_type ())
#define GTHREE_AMBIENT_LIGHT(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTHREE_TYPE_AMBIENT_LIGHT, \
GthreeAmbientLight))
#define GTHREE_IS_AMBIENT_LIGHT(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTHREE_TYPE_AMBIENT_LIGHT))
struct _GthreeAmbientLight {
GthreeLight parent;
};
G_DEFINE_AUTOPTR_CLEANUP_FUNC (GthreeAmbientLight, g_object_unref)
typedef struct {
GthreeLightClass parent_class;
} GthreeAmbientLightClass;
GTHREE_API
GthreeAmbientLight *gthree_ambient_light_new (const graphene_vec3_t *color);
GTHREE_API
GType gthree_ambient_light_get_type (void) G_GNUC_CONST;
G_END_DECLS
#endif /* __GTHREE_AMBIENTLIGHT_H__ */