From 34a2dd53faf6c829fc25e3e7e96e55c789578f97 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Tue, 8 Dec 2015 11:54:23 +0100 Subject: Cleanup --- data/creator.cpp~ | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 data/creator.cpp~ (limited to 'data/creator.cpp~') diff --git a/data/creator.cpp~ b/data/creator.cpp~ deleted file mode 100644 index 9abcdcf..0000000 --- a/data/creator.cpp~ +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include -#include - -using namespace std; - -int main() -{ - ofstream o; - o.open("nnova1.txt"); - o << "Nova 1\n"; - o << "data/images/empty.bmp\n"; - o << 2 << '\n'; - int shots = 300; - double T = 10; - double duration = 0.6; - double start = 3; - double speed = 320; - int Ncircles = 4; - o << shots << endl; - for(int i = 0; i < shots; ++i) - { - o << T << '\n'; - o << T - start - ((double) i)/((double) shots)*duration-0.0001 << '\n'; - o << "data/psi.txt\n"; - o << cos(Ncircles*2*M_PI*i/((double) shots))*speed << '\n'; - o << sin(Ncircles*2*M_PI*i/((double) shots))*speed; - if(i != shots-1) - o << endl; - } - o.close(); -} -- cgit v1.2.3