mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Added FOV and mouse sensitivity settings
This commit is contained in:
parent
af2786164a
commit
1d73c0bd9f
10 changed files with 66 additions and 10 deletions
|
|
@ -120,7 +120,7 @@ void GUI::act(float delta) {
|
|||
|
||||
void GUI::draw(Batch2D* batch, Assets* assets) {
|
||||
menu->setCoord((Window::size() - menu->size()) / 2.0f);
|
||||
uicamera->fov = Window::height;
|
||||
uicamera->setFov(Window::height);
|
||||
|
||||
Shader* uishader = assets->getShader("ui");
|
||||
uishader->use();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue