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
14typedef 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
35GF_DECLARE_TYPE(model, {
38});
39#else
40typedef void gf_model_t;
41#endif
42
43#endif
#define GF_DECLARE_TYPE(n, b)
Macro to define engine type shorter.
Definition gf_macro.h:188
Required headers before anything.
Type definitions related to mesh.
Mesh.
Definition mesh.h:55
Model.
Definition model.h:38
gf_mesh_t * mesh
Mesh.
Definition model.h:38
gf_texture_t * texture
Texture.
Definition model.h:38
Texture.
Definition texture.h:49
Type definitions related to texture.