erebus
diff liberebus/src/erebus_impl.h @ 26:c8a6fb04fefa
multithreadededit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 01 Jun 2014 19:19:40 +0300 |
parents | 4336acf8389d |
children | 53a98c148bf8 |
line diff
1.1 --- a/liberebus/src/erebus_impl.h Sat May 31 06:21:09 2014 +0300 1.2 +++ b/liberebus/src/erebus_impl.h Sun Jun 01 19:19:40 2014 +0300 1.3 @@ -15,11 +15,10 @@ 1.4 Vector4 vval; 1.5 }; 1.6 1.7 -struct Rect { 1.8 +struct Block { 1.9 int x, y, width, height; 1.10 - 1.11 - bool operator ==(const Rect &r) const; 1.12 - bool operator !=(const Rect &r) const; 1.13 + int sample; 1.14 + int frame; 1.15 }; 1.16 1.17 struct erebus { 1.18 @@ -34,9 +33,8 @@ 1.19 // render state 1.20 float inv_gamma; 1.21 long cur_time; 1.22 - int cur_pixel_x, cur_pixel_y; 1.23 - Rect cur_rect; 1.24 int cur_sample; 1.25 + int cur_frame; 1.26 1.27 // interactive input 1.28 std::vector<bool> keystate;