use base class - replaced MyAvatar with Avatar

This commit is contained in:
stojce 2014-02-18 08:11:59 +01:00
parent d36ced9b92
commit 7621d70c24
2 changed files with 3 additions and 3 deletions

View file

@ -60,7 +60,7 @@ SnapshotMetaData* Snapshot::parseSnapshotData(QString snapshotPath) {
return data; return data;
} }
void Snapshot::saveSnapshot(QGLWidget* widget, Profile* profile, MyAvatar* avatar) { void Snapshot::saveSnapshot(QGLWidget* widget, Profile* profile, Avatar* avatar) {
QImage shot = widget->grabFrameBuffer(); QImage shot = widget->grabFrameBuffer();
glm::vec3 location = avatar->getPosition(); glm::vec3 location = avatar->getPosition();

View file

@ -15,7 +15,7 @@
#include <QImage> #include <QImage>
#include <QGLWidget> #include <QGLWidget>
#include "avatar/MyAvatar.h" #include "avatar/Avatar.h"
#include "avatar/Profile.h" #include "avatar/Profile.h"
class SnapshotMetaData { class SnapshotMetaData {
@ -39,7 +39,7 @@ private:
class Snapshot { class Snapshot {
public: public:
static void saveSnapshot(QGLWidget* widget, Profile* profile, MyAvatar* avatar); static void saveSnapshot(QGLWidget* widget, Profile* profile, Avatar* avatar);
static SnapshotMetaData* parseSnapshotData(QString snapshotPath); static SnapshotMetaData* parseSnapshotData(QString snapshotPath);
}; };