Solar System OpenGL v1.0.0
Loading...
Searching...
No Matches
texture_loader.h
Go to the documentation of this file.
1
9#ifndef TEXTURE_LOADER_H
10#define TEXTURE_LOADER_H
11
19#define STB_IMAGE_IMPLEMENTATION
20
21#include "stb_image.h"
22
23#ifdef __APPLE__
24#include <GLUT/glut.h>
25#else
26#include <GL/glut.h>
27#endif
28
29#include <iostream>
30
39GLuint loadTexture(const char *filename);
40
41#endif // TEXTURE_LOADER_H
GLuint loadTexture(const char *filename)
Loads a texture from a file.
Definition texture_loader.cpp:20