Description: 1. two maps read come, find the height and width and set the time of maximum
2. Use atan () math functions calculate the angle to the center of the benchmark the width/height/2
X, y into the atan (- (y-height/2)/(x-width/2))* 180/PI
- Obtained when the angle <With time the proportion of change of angle, then the new map to cover the old map
- On the contrary, cover with the old map old map
3. this will create a problem because of the slope, and atan () Find the angle range of-90 to 90 degrees, so the thirteen quadrant or twenty-four-quadrant will occur at the same time wipe. In order to address this situation, I will atan () Find the angle of turn into a 0 to 360 degrees, so that the respective quadrant has its own work, is not at the same time wipe
4. briefly summarized above, can be completed clock wipe one s function
To Search:
File list (Check if you may need any files):
angle.png
clock wipe
..........\clock wipe
..........\clock wipe.ncb
..........\clock wipe.sln
..........\clock wipe.suo
..........\..........\clock wipe.cpp
..........\..........\clock wipe.vcproj
..........\..........\clock wipe.vcproj.SA074463.sa074463.user
..........\..........\Debug
..........\..........\.....\BuildLog.htm
..........\..........\.....\clock wipe.exe.embed.manifest
..........\..........\.....\clock wipe.exe.embed.manifest.res
..........\..........\.....\clock wipe.exe.intermediate.manifest
..........\..........\.....\clock wipe.obj
..........\..........\.....\clock wipe.pch
..........\..........\.....\mt.dep
..........\..........\.....\stdafx.obj
..........\..........\.....\vc90.idb
..........\..........\.....\vc90.pdb
..........\..........\lena.jpg
..........\..........\pic1.jpg
..........\..........\ReadMe.txt
..........\..........\stdafx.cpp
..........\..........\stdafx.h
..........\..........\targetver.h
..........\Debug
..........\.....\clock wipe.exe
..........\.....\clock wipe.ilk
..........\.....\clock wipe.pdb
Explain.txt