mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 14:01:49 +00:00
update WorldRenderer::renderHands
This commit is contained in:
parent
b7b11d9b2a
commit
97cf597a01
1 changed files with 3 additions and 3 deletions
|
|
@ -247,12 +247,12 @@ void WorldRenderer::renderHands(
|
||||||
|
|
||||||
// prepare modified HUD camera
|
// prepare modified HUD camera
|
||||||
Camera hudcam = camera;
|
Camera hudcam = camera;
|
||||||
hudcam.far = 100.0f;
|
hudcam.far = 10.0f;
|
||||||
hudcam.setFov(1.2f);
|
hudcam.setFov(0.9f);
|
||||||
hudcam.position = {};
|
hudcam.position = {};
|
||||||
|
|
||||||
// configure model matrix
|
// configure model matrix
|
||||||
const glm::vec3 itemOffset(0.08f, 0.035f, -0.1);
|
const glm::vec3 itemOffset(0.06f, 0.035f, -0.1);
|
||||||
|
|
||||||
static glm::mat4 prevRotation(1.0f);
|
static glm::mat4 prevRotation(1.0f);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue