forked from Dynamitos/MeshShadingDemo
Adding more libraries
This commit is contained in:
1 parent
16c56a9734
commit
c3475ec41d
25 files changed
+19
-10
No files matched your search
@@ -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