bugfix, different resolution
This commit is contained in:
parent
f792af5803
commit
aee4b7204a
2 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ class Canvas2D {
|
|||
|
||||
public:
|
||||
Canvas2D(size_t width, size_t height)
|
||||
: storage(width, Storage::value_type(height, 0))
|
||||
: storage(height, Row(width, 0))
|
||||
{}
|
||||
|
||||
Row & operator[](size_t r){
|
||||
|
@ -58,8 +58,8 @@ public:
|
|||
|
||||
template <size_t N>
|
||||
size_t size() const {
|
||||
if ( N == 0 ) return storage.size();
|
||||
if ( N == 1 ) return storage.front().size();
|
||||
if ( N == 0 ) return storage.front().size();
|
||||
if ( N == 1 ) return storage.size();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
2
batch.sh
2
batch.sh
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
while true; do ./build/Debug/AwesomeAttract0r -P /Users/joshua/Documents/Code/AwesomeAttractor/render/ -R -I 20 -W 640 -H 640 -v -f attractors/emptyUnravel3D.stf; done
|
||||
while true; do ./build/Debug/AwesomeAttract0r -P ./render/ -R -I 50 -W 1280 -H 800 -f attractors/emptyUnravel3D.stf; done
|
||||
|
|
Reference in a new issue