Computers and Technology, 31.08.2019 01:10, jenifferplowman
In 16 bit gaming devices a color is represented by an unsigned 16 bit value that holds the gradients of red, green, and blue. each of these gradients is a 5 bit value. red is stored in the least significant 5 bits, green in the next least significant, and then blue. the last bit is unused. given the function header below, write a function that accepts the values of red, green, and blue, and returns the color as a single 16 bit value. you may only use the bitwise operators to calculate the result, & , |, ^, ~, < < , > > and the derivative compound assignment operators, |=, & =. assume an unsigned short is 16 bits.
Answers: 1
Mathematics, 19.10.2019 22:00, moncera
Answers: 2
In 16 bit gaming devices a color is represented by an unsigned 16 bit value that holds the gradients...
Mathematics, 27.01.2020 18:31
Mathematics, 27.01.2020 18:31
Mathematics, 27.01.2020 18:31