Merge branch 'master' into fix_tablet_scrollbars

This commit is contained in:
vladest 2017-11-24 15:30:30 +01:00
commit bc33730c4e

View file

@ -58,7 +58,7 @@ void Light::setOrientation(const glm::quat& orientation) {
}
void Light::setDirection(const Vec3& direction) {
_lightSchemaBuffer.edit().volume.direction = (_transform.getRotation() * direction);
_lightSchemaBuffer.edit().volume.direction = (direction);
}
const Vec3& Light::getDirection() const {