Turning red pixels white | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Turning red pixels white

Can someone please explain how this code is turning red pixels white? Thank you! if (triple.rgbtRed == 255 && triple.rgbtBlue == 0) { triple.rgbtBlue = 255; triple.rgbtGreen = 255; }

10th Oct 2019, 4:18 PM
David
David - avatar
1 Réponse
+ 1
~ swim ~ That makes sense. Thanks for answering.
10th Oct 2019, 5:15 PM
David
David - avatar