some examples tuning

This commit is contained in:
Evghenii
2014-01-13 09:52:34 +01:00
parent 8f17468fa3
commit 66faf8b4e4
6 changed files with 11 additions and 9 deletions

View File

@@ -32,10 +32,10 @@
*/
static inline int
mandel(float c_re, float c_im, int count) {
mandel(float c_re, float c_im, float count) {
float z_re = c_re, z_im = c_im;
int i;
for (i = 0; i < count; ++i) {
float i = 0.0f;
for (;i < count; ++i) {
if (z_re * z_re + z_im * z_im > 4.0f)
break;