GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
graphic.h
Go to the documentation of this file.
1
7#ifndef __GF_TYPE_GRAPHIC_H__
8#define __GF_TYPE_GRAPHIC_H__
9
10#include <gf_pre.h>
11#include <gf_macro.h>
12
13#ifdef GF_EXPOSE_GRAPHIC
15
16/* External library */
17
18/* Engine */
19
20/* Standard */
21
39GF_DECLARE_TYPE(graphic_color, {
40 double r;
41 double g;
42 double b;
43 double a;
44});
45#else
46#error "should not happen!"
47#endif
48
49#endif
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:172
Required headers before anything.
double g
Green.
Definition graphic.h:44
double b
Blue.
Definition graphic.h:44
double a
Alpha.
Definition graphic.h:44
double r
Red.
Definition graphic.h:44