Fix up a shadow-related variable/parameter names (#920)

* Fix up a shadow-related variable/parameter names

* Fix compilation errors in d_a_obj_barrel.cpp
This commit is contained in:
Mike Lester
2026-01-12 23:01:35 -07:00
committed by GitHub
parent ba4a7b481c
commit 9cc61c4058
11 changed files with 145 additions and 132 deletions
+2 -2
View File
@@ -59,7 +59,7 @@ const dCcD_SrcCyl daObjBarrel::Act_c::M_cyl_src = {
const daObjBarrel::Act_c::Attr_c daObjBarrel::Act_c::M_attr = {
/* mBdlIdx */ KTARU_01_BDL_KTARU_01,
/* m02 */ 60,
/* mShadowSize */ 60,
/* mEnableCutoff */ false,
/* mAttnH */ 50.0f,
/* mNormalGravity */ -6.0f,
@@ -727,7 +727,7 @@ bool daObjBarrel::Act_c::_draw() {
cM3dGPla* gndPlane = dComIfG_Bgsp()->GetTriPla(mAcch.m_gnd);
cXyz *norm = gndPlane->GetNP();
if (norm && gndH != -G_CM3D_F_INF) {
dComIfGd_setSimpleShadow(&current.pos, gndH, attr().m02, norm);
dComIfGd_setSimpleShadow(&current.pos, gndH, attr().mShadowSize, norm);
}
}
return true;