5 inline void Light::setColor(
const Math::Vec4f& color) {
9 inline void Light::setDirection(
const Math::Vec3f& direction) {
10 _direction = direction;
13 inline void Light::setConstantAttenuation(
float constantAttenuation) {
14 _constantAttenuation = constantAttenuation;
17 inline void Light::setDistance(
float distance) {
21 inline void Light::setLinearAttenuation(
float linearAttenuation) {
22 _linearAttenuation = linearAttenuation;
25 inline void Light::setQuadraticAttenuation(
float quadraticAttenuation) {
26 _quadraticAttenuation = quadraticAttenuation;
29 inline void Light::setFalloffAngle(
float falloffAngle) {
30 _falloffAngle = falloffAngle;
33 inline void Light::setFalloffExponent(
float falloffExponent) {
34 _falloffExponent = falloffExponent;