Golias Engine
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Attributes | List of all members
SpotLight Struct Reference

#include <components.h>

Public Attributes

glm::vec3 direction {0.0f, -1.0f, 0.0f}
 
glm::vec3 color {1.0f}
 
float intensity = 1.0f
 
float cutOff = 12.5f
 
float outerCutOff = 17.5f
 

Member Data Documentation

◆ color

glm::vec3 SpotLight::color {1.0f}

◆ cutOff

float SpotLight::cutOff = 12.5f

◆ direction

glm::vec3 SpotLight::direction {0.0f, -1.0f, 0.0f}

◆ intensity

float SpotLight::intensity = 1.0f

◆ outerCutOff

float SpotLight::outerCutOff = 17.5f

The documentation for this struct was generated from the following file: