mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 16:46:10 +00:00
Fully decouple hecl from Metaforce
- Added CStringExtras Convert functions (and UTF-compatible versions) - GX header copied into Runtime - SFX headers copied into Runtime/Audio
This commit is contained in:
@@ -712,11 +712,11 @@ CBooRenderer::~CBooRenderer() { g_Renderer = nullptr; }
|
||||
void CBooRenderer::AddWorldSurfaces(CBooModel& model) {
|
||||
CBooSurface* surf = model.x3c_firstSortedSurface;
|
||||
while (surf) {
|
||||
const MaterialSet::Material& mat = model.GetMaterialByIndex(surf->m_data.matIdx);
|
||||
// const MaterialSet::Material& mat = model.GetMaterialByIndex(surf->m_data.matIdx);
|
||||
zeus::CAABox aabb = surf->GetBounds();
|
||||
zeus::CVector3f pt = aabb.closestPointAlongVector(xb0_viewPlane.normal());
|
||||
Buckets::Insert(pt, aabb, EDrawableType::WorldSurface, surf, xb0_viewPlane,
|
||||
mat.blendMode == MaterialSet::Material::BlendMaterial::BlendMode::Alpha);
|
||||
/*mat.blendMode == MaterialSet::Material::BlendMaterial::BlendMode::Alpha*/ false);
|
||||
surf = surf->m_next;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user