1 inline void Light::setType(
Type type) {
6 inline void Light::setColor(
const Math::Vec4f& color) {
11 inline void Light::setDirection(
const Math::Vec3f& direction) {
13 _direction = direction;
16 inline void Light::setConstantAttenuation(
float constantAttenuation) {
18 _constantAttenuation = constantAttenuation;
21 inline void Light::setDistance(
float distance) {
26 inline void Light::setLinearAttenuation(
float linearAttenuation) {
28 _linearAttenuation = linearAttenuation;
31 inline void Light::setQuadraticAttenuation(
float quadraticAttenuation) {
33 _quadraticAttenuation = quadraticAttenuation;
36 inline void Light::setFalloffAngle(
float falloffAngle) {
38 _falloffAngle = falloffAngle;
41 inline void Light::setFalloffExponent(
float falloffExponent) {
43 _falloffExponent = falloffExponent;
50 inline const Math::Vec4f& Light::getColor()
const {
54 inline const Math::Vec3f& Light::getDirection()
const {
58 inline float Light::getConstantAttenuation()
const {
59 return _constantAttenuation;
62 inline float Light::getDistance()
const {
66 inline float Light::getLinearAttenuation()
const {
67 return _linearAttenuation;
70 inline float Light::getQuadraticAttenuation()
const {
71 return _quadraticAttenuation;
74 inline float Light::getFalloffAngle()
const {
78 inline float Light::getFalloffExponent()
const {
79 return _falloffExponent;