[nostalgia/core/studio] Cleanup
This commit is contained in:
parent
5f0217545c
commit
e7ae031ce7
@ -574,7 +574,6 @@ QString TileSheetEditor::palettePath(QString paletteName) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr common::Point idxToPt(int i, int c) noexcept {
|
constexpr common::Point idxToPt(int i, int c) noexcept {
|
||||||
common::Point p;
|
|
||||||
const auto t = i / PixelsPerTile; // tile number
|
const auto t = i / PixelsPerTile; // tile number
|
||||||
const auto iti = i % PixelsPerTile; // in tile index
|
const auto iti = i % PixelsPerTile; // in tile index
|
||||||
const auto tc = t % c; // tile column
|
const auto tc = t % c; // tile column
|
||||||
|
Loading…
Reference in New Issue
Block a user