update WorldRenderer::renderHands
This commit is contained in:
parent
b7b11d9b2a
commit
97cf597a01
@ -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…
x
Reference in New Issue
Block a user