diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-01-13 02:57:27 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-13 12:13:58 +0100 |
commit | 58e025ac0885a77ea7a3e693e28533df64ed9e96 (patch) | |
tree | 07fe876f9ba0aef130dd393c7847237991032fa9 /Userland/Libraries/LibSoftGPU | |
parent | db1509c0decd93f8d3c79070c681b56207a94f3f (diff) | |
download | serenity-58e025ac0885a77ea7a3e693e28533df64ed9e96.zip |
LibSoftGPU: Change `Material` vectors to `FloatVector4`
Same type, but more consistent with the rest of LibSoftGPU and LibGL.
Diffstat (limited to 'Userland/Libraries/LibSoftGPU')
-rw-r--r-- | Userland/Libraries/LibSoftGPU/Light/Material.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Userland/Libraries/LibSoftGPU/Light/Material.h b/Userland/Libraries/LibSoftGPU/Light/Material.h index fc8a313ca0..c7c6ca4687 100644 --- a/Userland/Libraries/LibSoftGPU/Light/Material.h +++ b/Userland/Libraries/LibSoftGPU/Light/Material.h @@ -11,10 +11,10 @@ namespace SoftGPU { struct Material { - Vector4<float> ambient { 0.2f, 0.2f, 0.2f, 1.0f }; - Vector4<float> diffuse { 0.8f, 0.8f, 0.8f, 1.0f }; - Vector4<float> specular { 0.0f, 0.0f, 0.0f, 1.0f }; - Vector4<float> emissive { 0.0f, 0.0f, 0.0f, 1.0f }; + FloatVector4 ambient { 0.2f, 0.2f, 0.2f, 1.0f }; + FloatVector4 diffuse { 0.8f, 0.8f, 0.8f, 1.0f }; + FloatVector4 specular { 0.0f, 0.0f, 0.0f, 1.0f }; + FloatVector4 emissive { 0.0f, 0.0f, 0.0f, 1.0f }; float shininess { 0.0f }; float specular_exponent { 0.0f }; float ambient_color_index { 0.0f }; |