mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibSoftGPU: Change Material
vectors to FloatVector4
Same type, but more consistent with the rest of LibSoftGPU and LibGL.
This commit is contained in:
parent
db1509c0de
commit
58e025ac08
Notes:
sideshowbarker
2024-07-17 20:59:59 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/58e025ac088 Pull-request: https://github.com/SerenityOS/serenity/pull/11851 Reviewed-by: https://github.com/Quaker762 ✅ Reviewed-by: https://github.com/sunverwerth ✅
1 changed files with 4 additions and 4 deletions
|
@ -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 };
|
||||
|
|
Loading…
Reference in a new issue