20 lines
344 B
C
20 lines
344 B
C
#pragma once
|
|
#include <glm/ext/vector_float3.hpp>
|
|
|
|
struct DirLight {
|
|
glm::vec3 direction;
|
|
glm::vec3 ambient;
|
|
glm::vec3 diffuse;
|
|
glm::vec3 specular;
|
|
};
|
|
|
|
struct PointLight {
|
|
glm::vec3 position;
|
|
glm::vec3 ambient;
|
|
glm::vec3 diffuse;
|
|
glm::vec3 specular;
|
|
|
|
float constant;
|
|
float linear;
|
|
float quadratic;
|
|
}; |