projects
/
demo_prior
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
whitted: fresnel, needs work
[demo_prior]
/
src
/
texture.h
1
#ifndef TEXTURE_H_
2
#define TEXTURE_H_
3
4
struct texture {
5
unsigned int id;
6
int width, height;
7
unsigned char *pixels;
8
};
9
10
struct texture *load_texture(const char *fname);
11
void free_texture(struct texture *tex);
12
13
#endif /* TEXTURE_H_ */