projects
/
laserbrain_demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
exhibits
[laserbrain_demo]
/
src
/
texture.h
diff --git
a/src/texture.h
b/src/texture.h
index
5e18e7a
..
5c4bf3c
100644
(file)
--- a/
src/texture.h
+++ b/
src/texture.h
@@
-42,6
+42,8
@@
public:
unsigned int get_format() const;
int get_size(int dim) const;
+ int get_width() const;
+ int get_height() const;
void create(int xsz, int ysz, TextureType type = TEX_2D, unsigned int ifmt = GL_RGBA);
void create_default(TextureType type = TEX_2D);