Initial changes to clean up the code.
This commit is contained in:
parent
8d3ccd935d
commit
f3f875ee80
8 changed files with 21 additions and 29 deletions
|
@ -296,11 +296,7 @@ TEST_CASE("viewport iterator", "[matrix:viewport]") {
|
|||
|
||||
for(size_t y = 0; y < end_y; ++y) {
|
||||
for(size_t x = 0; x < end_x && it.next(); ++x) {
|
||||
|
||||
println("view x/y={},{}; w/h={},{}; start={},{}",
|
||||
it.x, it.y, it.width, it.height, it.start.x, it.start.y);
|
||||
println("orig x/y={},{}; w/h={},{}; start={},{}\n",
|
||||
x+start.x, y+start.y, view_width, view_height, start.x, start.y);
|
||||
// still working on this
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue