mirror of
https://github.com/zeldaret/tww.git
synced 2026-08-18 13:13:29 -04:00
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:
@@ -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(¤t.pos, gndH, attr().m02, norm);
|
||||
dComIfGd_setSimpleShadow(¤t.pos, gndH, attr().mShadowSize, norm);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user