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
typedef
struct
gf_model_t
gf_model_t
;
15
16
/* External library */
17
18
/* Engine */
19
#include <
gf_type/mesh.h
>
20
#include <
gf_type/texture.h
>
21
22
/* Standard */
23
35
GF_DECLARE_TYPE
(model, {
36
gf_mesh_t
*
mesh
;
37
gf_texture_t
*
texture
;
38
});
39
#else
40
typedef
void
gf_model_t
;
41
#endif
42
43
#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:55
gf_model_t
Model.
Definition
model.h:38
gf_model_t::mesh
gf_mesh_t * mesh
Mesh.
Definition
model.h:38
gf_model_t::texture
gf_texture_t * texture
Texture.
Definition
model.h:38
gf_texture_t
Texture.
Definition
texture.h:49
texture.h
Type definitions related to texture.
include
gf_type
model.h
Generated by
1.9.8