mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
fix renderHands with third person cameras
This commit is contained in:
parent
2c16f986e1
commit
e217476e84
7 changed files with 25 additions and 23 deletions
|
|
@ -85,7 +85,7 @@ static int l_set_rot(lua::State* L) {
|
|||
|
||||
static int l_get_dir(lua::State* L) {
|
||||
if (auto player = get_player(L, 1)) {
|
||||
return lua::pushvec3(L, player->camera->front);
|
||||
return lua::pushvec3(L, player->fpCamera->front);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue