fix reticles (#89)

This commit is contained in:
qwertyquerty
2026-03-13 14:41:46 -07:00
committed by GitHub
parent 18c0df40dd
commit 168d1f7e10
4 changed files with 79 additions and 1 deletions
+6 -1
View File
@@ -394,8 +394,13 @@ void daPy_sightPacket_c::draw() {
void daPy_sightPacket_c::setSight() {
Vec proj;
#if TARGET_PC
mDoLib_project(&mPos, &proj, {0, 0, FB_WIDTH, FB_HEIGHT});
#else
mDoLib_project(&mPos, &proj);
#endif
mDoMtx_stack_c::transS(proj.x, proj.y, proj.z);
mDoMtx_stack_c::scaleM(32.0f, 32.0f, 32.0f);
mDoMtx_copy(mDoMtx_stack_c::get(), mProjMtx);