Fix old api usage for #4185

This commit is contained in:
2026-09-14 08:30:51 +02:00
parent b586c6a0fb
commit e669e9ca65
57 changed files with 89 additions and 90 deletions
+1 -1
View File
@@ -1141,7 +1141,7 @@ void Particles::DrawParticles(RenderContextBatch& renderContextBatch, ParticleEf
// Drawing assumes that all views within a batch have the same Origin
const Vector3& viewOrigin = renderContextBatch.GetMainContext().View.Origin;
BoundingSphere bounds = effect->GetSphere();
BoundingSphere bounds = effect->GetBoundingSphere();
bounds.Center -= viewOrigin;
// Cull particles against all views