summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibSoftGPU/Light/Light.h
AgeCommit message (Collapse)Author
2022-01-13LibGL+LibSoftGPU: Calculate spotlight cutoff angle as degreesJelle Raaijmakers
We were storing the radians but never using that value in the GPU. We now directly use the degrees value.
2022-01-12LibGL: Implement `glLightf{v}` and fix `gl.h` prototypeJesse Buhagiar
This implements the `glLightf{v}` family of functions used to set lighting parameters per light in the GL. It also fixes an incorrect prototype for the user exposed version of `glLightf{v}` in which `params` was not marked as `const`.