You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
376 B
20 lines
376 B
#ifndef model_H
|
|
#define model_H
|
|
|
|
struct Camera;
|
|
|
|
struct Model
|
|
{
|
|
int node;
|
|
int geometry_index;
|
|
int shader; /* Temporary, replace with material */
|
|
};
|
|
|
|
struct Model* model_get(int index);
|
|
void model_init(void);
|
|
int model_create(int node, const char* geo_name);
|
|
void model_remove(int index);
|
|
void model_cleanup(void);
|
|
void model_render_all(struct Camera* camera);
|
|
|
|
#endif
|
|
|