Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

Making a value increase then decreases

$
0
0

wont this just make it go to 255 then go to 254 where it will increase again to 255 then flip and go to 254 again?

also as a side note. What is the reason for

{
i = i * -1;
}

Isnt

{
i = -1;
}

The same thing? Considering i = 1


Viewing all articles
Browse latest Browse all 40524

Trending Articles