GoldFish Engine
Quite simple and lightweight game engine
Loading...
Searching...
No Matches
model.h
Go to the documentation of this file.
1
7
#ifndef __GF_TYPE_MODEL_H__
8
#define __GF_TYPE_MODEL_H__
9
10
#include <
gf_pre.h
>
11
#include <
gf_macro.h
>
12
13
#ifdef GF_EXPOSE_MODEL
14
/* External library */
15
16
/* Engine */
17
#include <
gf_type/mesh.h
>
18
#include <
gf_type/texture.h
>
19
20
/* Standard */
21
33
GF_DECLARE_TYPE
(model, {
34
gf_mesh_t
* mesh;
35
gf_texture_t
* texture;
36
});
37
#else
38
typedef
void
gf_model_t
;
39
#endif
40
41
#endif
gf_macro.h
Macro.
GF_DECLARE_TYPE
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition
gf_macro.h:172
gf_pre.h
Required headers before anything.
mesh.h
Type definitions related to mesh.
gf_mesh_t
Mesh.
Definition
mesh.h:52
gf_model_t
Model.
Definition
model.h:36
gf_texture_t
Texture.
Definition
texture.h:47
texture.h
Type definitions related to texture.
include
gf_type
model.h
Generated by
1.9.8