|
@@ -15,7 +15,16 @@ void PlatformMesh_PerMeshSetup(CFTTPlatformMesh const *pPlatformMesh1, CFTTVecto
|
|
}
|
|
}
|
|
//---------------------------------------------------------------------------------------------------------------------------------------------
|
|
//---------------------------------------------------------------------------------------------------------------------------------------------
|
|
//0021b370 ^_^
|
|
//0021b370 ^_^
|
|
-void PlatformMesh_Render(CFTTPlatformMesh *pPlatformMesh1, int i2, unsigned short us3, unsigned int u4, unsigned int u5) {
|
|
|
|
|
|
+void PlatformMesh_Render(CFTTPlatformMesh* r0_pPlatformMesh1, int r1_i, unsigned short r2_us, unsigned int r3_u, unsigned int sp10_u)
|
|
|
|
+{
|
|
|
|
+ CFTTModel_struct_14* r12_list_model = r0_pPlatformMesh1->uOPData_44.list_model;
|
|
|
|
+ if (r2_us ==0xFFFF )
|
|
|
|
+ r2_us = r12_list_model[r1_i].tStr12_2.us_0;
|
|
|
|
+ if (r3_u == 0xFFFFFFFF)
|
|
|
|
+ r3_u = r12_list_model[r1_i].tStr12_2.field_6;
|
|
|
|
+ if (sp10_u == 0xFFFFFFFF)
|
|
|
|
+ sp10_u = r12_list_model[r1_i].tStr12_2.field_2 *3;
|
|
|
|
+ return ((CFTTRenderHelper*)r0_pPlatformMesh1->pCFTTRenderHelper_94.pType_0)->Render( &CFTTShaderBuiltInConstants::ms_matWorld, r2_us, r3_u,sp10_u);
|
|
}
|
|
}
|
|
//---------------------------------------------------------------------------------------------------------------------------------------------
|
|
//---------------------------------------------------------------------------------------------------------------------------------------------
|
|
//0021b3c8 ^_^
|
|
//0021b3c8 ^_^
|