Skip to content

Commit

Permalink
Improve documentation of SpriteAtlas
Browse files Browse the repository at this point in the history
  • Loading branch information
mortennobel authored Sep 19, 2018
1 parent 1471d7d commit 4586afd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/sre/SpriteAtlas.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
// Data Format: JSON (Array)
// Layout - Size constraints: POT (Power of 2)
// Allow rotation: false
// Include pivot information (double click on a single sprite and check 'enable pivot points'
//
// The json layout is as follows
// {"frames": [ // sprites must be defined as an array with the name frames
Expand Down Expand Up @@ -76,4 +77,4 @@ class SpriteAtlas {
std::map<std::string, Sprite> sprites;
std::shared_ptr<Texture> texture;
};
}
}

0 comments on commit 4586afd

Please sign in to comment.