some examples tuning
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user