polyadvent

A game engine from scratch in C
git clone git://jb55.com/polyadvent
Log | Files | Refs | README

texture.h (230B)


      1 
      2 #ifndef TEXTURE_H
      3 #define TEXTURE_H
      4 
      5 #define TEXTURE(f) "data/textures/" f
      6 #define CUBEMAP(f) TEXTURE("cubemaps/" f)
      7 
      8 unsigned int create_cubemap(const char *faces[6]);
      9 // right left top bottom front back
     10 
     11 #endif /* TEXTURE_H */