Adding more libraries
This commit is contained in:
@@ -50,6 +50,5 @@ void FlyCamSystem::update(Component::KeyboardInput& input, Component::Camera& ca
|
||||
transform.setRotation(glm::rotate(transform.getRotation(), input.deltaX / 500, Vector(0, 1, 0)));
|
||||
transform.setRotation(glm::rotate(transform.getRotation(), input.deltaY / 500, transform.getRight()));
|
||||
}
|
||||
light.colorRange.w += input.scrollY * 0.1;
|
||||
light.positionWS = Vector4(transform.getPosition(), 1);
|
||||
light.attenuation += input.scrollY * 0.1;
|
||||
}
|
||||
Reference in New Issue
Block a user