Removed unnecessary AABB initialization for CPUParticles

Setting an AABB manually for CPUParticles unnecessarily registers as a custom AABB and can cause issues on some platforms and hardware.
This commit is contained in:
Arman Elgudzhyan
2024-02-20 09:28:09 -08:00
parent fb10e67fef
commit c41725c9c6
2 changed files with 1 additions and 2 deletions

View File

@@ -1684,7 +1684,6 @@ CPUParticles3D::CPUParticles3D() {
set_emitting(true);
set_amount(8);
set_visibility_aabb(AABB(Vector3(-4, -4, -4), Vector3(8, 8, 8)));
set_param_min(PARAM_INITIAL_LINEAR_VELOCITY, 0);
set_param_min(PARAM_ANGULAR_VELOCITY, 0);