Change directional light to point light

This commit is contained in:
2024-08-24 23:15:38 +01:00
parent 22edc89593
commit 62aa2fbc3b
2 changed files with 5 additions and 5 deletions

View File

@@ -33,11 +33,11 @@ struct phong_material {
f32 shininess;
};
typedef struct directional_light DirectionalLight;
struct directional_light {
typedef struct point_light PointLight;
struct point_light {
V3f diffuse_intensity;
V3f specular_intensity;
V3f direction;
V3f position;
};
typedef struct model Model;