mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +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
1 changed files with 4 additions and 4 deletions
|
@ -11,10 +11,10 @@
|
||||||
namespace SoftGPU {
|
namespace SoftGPU {
|
||||||
|
|
||||||
struct Material {
|
struct Material {
|
||||||
Vector4<float> ambient { 0.2f, 0.2f, 0.2f, 1.0f };
|
FloatVector4 ambient { 0.2f, 0.2f, 0.2f, 1.0f };
|
||||||
Vector4<float> diffuse { 0.8f, 0.8f, 0.8f, 1.0f };
|
FloatVector4 diffuse { 0.8f, 0.8f, 0.8f, 1.0f };
|
||||||
Vector4<float> specular { 0.0f, 0.0f, 0.0f, 1.0f };
|
FloatVector4 specular { 0.0f, 0.0f, 0.0f, 1.0f };
|
||||||
Vector4<float> emissive { 0.0f, 0.0f, 0.0f, 1.0f };
|
FloatVector4 emissive { 0.0f, 0.0f, 0.0f, 1.0f };
|
||||||
float shininess { 0.0f };
|
float shininess { 0.0f };
|
||||||
float specular_exponent { 0.0f };
|
float specular_exponent { 0.0f };
|
||||||
float ambient_color_index { 0.0f };
|
float ambient_color_index { 0.0f };
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue