mirror of
https://github.com/DrBeef/Raze.git
synced 2025-03-03 16:01:16 +00:00
slight improvement to location of weapon sprite relative to controller
This commit is contained in:
parent
82b83af956
commit
35c101b671
1 changed files with 1 additions and 1 deletions
|
@ -296,7 +296,7 @@ VSMatrix VREyeInfo::GetPlayerSpriteProjection(int width, int height) const
|
||||||
new_projection.scale(-weapon_scale, weapon_scale, -weapon_scale);
|
new_projection.scale(-weapon_scale, weapon_scale, -weapon_scale);
|
||||||
|
|
||||||
// ndc coordinates from pixel coordinates
|
// ndc coordinates from pixel coordinates
|
||||||
new_projection.translate(-1.5, 1.5, -0.5);
|
new_projection.translate(-1.5, 1.5, -0.1);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue