Class PointLight
Defined in File PointLight.hpp
Inheritance Relationships
Base Type
public Light
(Class Light)
Class Documentation
-
class PointLight : public Light
Public Functions
-
PointLight()
-
PointLight(GLuint shadow_width, GLuint shadow_height, GLfloat near, GLfloat far, GLfloat red, GLfloat green, GLfloat blue, GLfloat radiance, GLfloat x_pos, GLfloat y_pos, GLfloat z_pos, GLfloat con, GLfloat lin, GLfloat exp)
-
std::vector<glm::mat4> calculate_light_transform()
-
void set_position(glm::vec3 position)
-
inline std::shared_ptr<OmniDirShadowMap> get_omni_shadow_map()
-
GLfloat get_far_plane()
-
glm::vec3 get_position()
-
inline GLfloat get_constant_factor()
-
inline GLfloat get_linear_factor()
-
inline GLfloat get_exponent_factor()
-
~PointLight()
-
PointLight()