We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be52d95 commit 89608c2Copy full SHA for 89608c2
include/gf2/core/Array2D.h
@@ -117,7 +117,6 @@ namespace gf {
117
return square_range(position, 2);
118
}
119
120
- private:
121
NeighborSquareRange<int> square_range(Vec2I position, int radius) const noexcept
122
{
123
assert(valid(position));
@@ -138,6 +137,7 @@ namespace gf {
138
137
return { dx, dy, position, radius };
139
140
+ private:
141
std::size_t linearize(Vec2I index) const
142
143
return static_cast<std::size_t>(index.x) + (static_cast<std::size_t>(index.y) * static_cast<std::size_t>(m_size.x));
0 commit comments