aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/sprite.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-23 01:37:09 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-23 01:40:47 +0000
commitddd26ed83d3ac0335562f762ced273a1d62bd959 (patch)
treea697de87564846e784fd1256d71c94270d8ec51d /yage/core/sprite.cpp
parent0ac42fb77773e15b13f1ede01dd1efd920a8fb9b (diff)
downloadYAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.tar.gz
YAGE-ddd26ed83d3ac0335562f762ced273a1d62bd959.zip
[Style] Updated style in files.
Diffstat (limited to 'yage/core/sprite.cpp')
-rw-r--r--yage/core/sprite.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/yage/core/sprite.cpp b/yage/core/sprite.cpp
index a663c379..6862f910 100644
--- a/yage/core/sprite.cpp
+++ b/yage/core/sprite.cpp
@@ -25,10 +25,10 @@ Sprite::~Sprite()
void Sprite::init(float x, float y, float width, float height,
const std::string &texture_path)
{
- x_ = x;
- y_ = y;
- width_ = width;
- height_ = height;
+ x_ = x;
+ y_ = y;
+ width_ = width;
+ height_ = height;
texture_ = ResourceManager::getTexture(texture_path);
if (vbo_id_ == 0) {