Skip to main content
7 events
when toggle format what by license comment
Jun 21, 2016 at 16:57 comment added Kyranstar Oh sorry, I didn't look closely enough.
Jun 21, 2016 at 16:56 comment added jgallant @Kyranstar The code above is not java, it is C#. More specifically it is utilizing the Unity Color class. You will of course have to port this code to whatever platform it is you are developing with.
Jun 21, 2016 at 16:55 comment added Kyranstar I believe in Java you can initialize a color with all integers out of 255, so you can get rid of the division.
Jun 6, 2016 at 20:07 comment added jgallant No problem at all. The problem looked like fun to tackle, so that is why I was asking for it. Let me know if you have any questions about the above implementation.
Jun 6, 2016 at 20:00 vote accept ali
Jun 6, 2016 at 20:00 comment added ali Thanks Jon this is amazing; and sorry I didn't appreciate your asking for sample data first.
Jun 6, 2016 at 18:47 history answered jgallant CC BY-SA 3.0