git-svn-id: svn://db.shs.com.ru/libs@600 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -97,7 +97,8 @@ protected:
|
|||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Map {
|
class Map {
|
||||||
|
public:
|
||||||
Map() {bitmap_id = 0; color_amount = 1.f; color_offset = 0.f; animation_frame_rate = -1.f;}
|
Map() {bitmap_id = 0; color_amount = 1.f; color_offset = 0.f; animation_frame_rate = -1.f;}
|
||||||
QString bitmap_path;
|
QString bitmap_path;
|
||||||
GLuint bitmap_id;
|
GLuint bitmap_id;
|
||||||
@@ -108,7 +109,8 @@ struct Map {
|
|||||||
float animation_frame_rate;
|
float animation_frame_rate;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct Material {
|
class Material {
|
||||||
|
public:
|
||||||
Material();
|
Material();
|
||||||
void apply(QOpenGLShaderProgram * prog);
|
void apply(QOpenGLShaderProgram * prog);
|
||||||
void loadTextures(GLTextureManagerBase * tm);
|
void loadTextures(GLTextureManagerBase * tm);
|
||||||
|
|||||||
Reference in New Issue
Block a user