20#ifndef YOURGAME_GLLIGHTSOURCE_H
21#define YOURGAME_GLLIGHTSOURCE_H
32 std::array<float, 12>
data();
44 std::array<float, 12> m_data = {{0.0f, 0.0f, 0.0f,
Definition lightsource.h:30
std::array< float, 3 > position()
Definition lightsource.cpp:46
std::array< float, 3 > ambient()
Definition lightsource.cpp:31
std::array< float, 3 > specular()
Definition lightsource.cpp:41
void setAmbient(std::array< float, 3 > col)
Definition lightsource.cpp:51
void setSpecular(std::array< float, 3 > col)
Definition lightsource.cpp:65
std::array< float, 3 > diffuse()
Definition lightsource.cpp:36
void setDiffuse(std::array< float, 3 > col)
Definition lightsource.cpp:58
std::array< float, 12 > data()
Definition lightsource.cpp:26
void setPosition(std::array< float, 3 > pos)
Definition lightsource.cpp:72