Browse Source

Merge pull request #61237 from Calinou/particlesmaterial-remove-outdated-comments

Remove outdated "not implemented yet" comments in ParticlesMaterial
Rémi Verschelde 3 years ago
parent
commit
f4126cc902
1 changed files with 0 additions and 2 deletions
  1. 0 2
      scene/resources/particles_material.cpp

+ 0 - 2
scene/resources/particles_material.cpp

@@ -722,11 +722,9 @@ void ParticlesMaterial::_update_shader() {
 				code += "	if (DELTA >= interval_rem) emit_count = 1;\n";
 				code += "	if (DELTA >= interval_rem) emit_count = 1;\n";
 			} break;
 			} break;
 			case SUB_EMITTER_AT_COLLISION: {
 			case SUB_EMITTER_AT_COLLISION: {
-				//not implemented yet
 				code += "	if (COLLIDED) emit_count = 1;\n";
 				code += "	if (COLLIDED) emit_count = 1;\n";
 			} break;
 			} break;
 			case SUB_EMITTER_AT_END: {
 			case SUB_EMITTER_AT_END: {
-				//not implemented yet
 				code += "	float unit_delta = DELTA/LIFETIME;\n";
 				code += "	float unit_delta = DELTA/LIFETIME;\n";
 				code += "	float end_time = CUSTOM.w * 0.95;\n"; // if we do at the end we might miss it, as it can just get deactivated by emitter
 				code += "	float end_time = CUSTOM.w * 0.95;\n"; // if we do at the end we might miss it, as it can just get deactivated by emitter
 				code += "	if (CUSTOM.y < end_time && (CUSTOM.y + unit_delta) >= end_time) emit_count = sub_emitter_amount_at_end;\n";
 				code += "	if (CUSTOM.y < end_time && (CUSTOM.y + unit_delta) >= end_time) emit_count = sub_emitter_amount_at_end;\n";