]> git.lizzy.rs Git - shadowclad.git/blob - render.h
Texturing mockup
[shadowclad.git] / render.h
1 #ifndef RENDER_H_
2 #define RENDER_H_
3
4 #include "tga.h" // TODO remove
5
6 const struct aiScene* model; // TODO remove
7 const TgaImage* texImage; // TODO remove
8
9 void renderScene();
10 void drawAxes();
11 void drawModelRecursive(const struct aiScene* model, const struct aiNode* node);
12 void applyMaterial(const struct aiMaterial* mtl);
13 void color4_to_float4(const struct aiColor4D *c, float f[4]);
14 void set_float4(float f[4], float a, float b, float c, float d);
15
16 #endif