CSEngine
Loading...
Searching...
No Matches
CSE::SLight Struct Reference
Inheritance diagram for CSE::SLight:
CSE::BaseLight

Public Attributes

vec4 direction
 
vec3position
 
float radius = 1.0f
 
vec3 att = vec3{ 1.f, 0.f, 0.f }
 
float spot
 
- Public Attributes inherited from CSE::BaseLight
vec3 color = vec3{ 2, 2, 2 }
 

Detailed Description

Definition at line 13 of file LightHelper.h.

Member Data Documentation

◆ att

vec3 CSE::SLight::att = vec3{ 1.f, 0.f, 0.f }

Definition at line 21 of file LightHelper.h.

21{ 1.f, 0.f, 0.f }; //Kc, Kl, Kq

◆ direction

vec4 CSE::SLight::direction

Definition at line 16 of file LightHelper.h.

◆ position

vec3* CSE::SLight::position

Definition at line 19 of file LightHelper.h.

◆ radius

float CSE::SLight::radius = 1.0f

Definition at line 20 of file LightHelper.h.

◆ spot

float CSE::SLight::spot

Definition at line 24 of file LightHelper.h.


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