Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AtlasTexture(AtlasTexture&& other)
- {
- _valid = other._valid;
- _width = other._width;
- _height = other._height;
- _originX = other._originX;
- _originY = other._originY;
- _minu = other._minu;
- _maxu = other._maxu;
- _minv = other._minv;
- _maxv = other._maxv;
- _rotated = other._rotated;
- _frameData = other._frameData;
- }
- AtlasTexture& operator= (AtlasTexture&& other)
- {
- if (this == &other)
- return *this;
- _valid = other._valid;
- _width = other._width;
- _height = other._height;
- _originX = other._originX;
- _originY = other._originY;
- _minu = other._minu;
- _maxu = other._maxu;
- _minv = other._minv;
- _maxv = other._maxv;
- _rotated = other._rotated;
- if (_frameData.size() > 0)
- FOR(i, _frameData.size())
- delete [] _frameData.at(i);
- _frameData.clear();
- _frameData = other._frameData;
- return *this;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement