summaryrefslogtreecommitdiffhomepage
path: root/src/anim-atlas.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-09 12:12:52 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-09 12:12:52 +0200
commitffd47310758cfce6ee7514a73973de0d3fbf0772 (patch)
tree27fd584d60d9efdeb1fc82713d78f8381fbfce9d /src/anim-atlas.cpp
parent6d9591660a1f83e8abe1f1d4f1ca68a9ae7a8325 (diff)
a
Diffstat (limited to 'src/anim-atlas.cpp')
-rw-r--r--src/anim-atlas.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/anim-atlas.cpp b/src/anim-atlas.cpp
index b798ffcc..650ca41e 100644
--- a/src/anim-atlas.cpp
+++ b/src/anim-atlas.cpp
@@ -135,6 +135,7 @@ auto anim_atlas::frame_quad(const Vector3& center, rotation r, size_t i) const n
void anim_atlas::make_bitmask_(const ImageView2D& tex, BitArray& array)
{
+ // todo! decompose into a C function that can use __restrict
const auto pixels = tex.pixels();
const auto size = pixels.size();
const auto width = size[1], height = size[0],