deltaphc / raylib-rs

Rust bindings for raylib
Other
782 stars 136 forks source link

Color::get_color(i32) should use u32 #141

Open Omnislayer77 opened 2 years ago

Omnislayer77 commented 2 years ago

The Color::get_color(i32) function should use a u32 because inputs such as 0xf44850ff which should give a color (r 0xf4, g 0x48, b 0x50, and a 0xff) are out of range of an i32, but would be suited by u32.

DhwanishShah commented 1 year ago

Hi, I want to work on this Issue. Can you please assign me this Issue? It's my college Assignment to work on the project on GitHub.

DhwanishShah commented 1 year ago

image

Let me know if the changes are supposed to be done in these files and I just need to change the i32 field to u32.