mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
This commit is contained in:
parent
b6ac91c0e6
commit
3fcb9b1ec1
35 changed files with 27 additions and 431 deletions
|
|
@ -283,7 +283,6 @@ void ParticlesEditor::_generate_emission_points() {
|
|||
ofs=(Vector3(1,1,1)-dir)*Vector3(Math::randf(),Math::randf(),Math::randf())*aabb.size;
|
||||
ofs+=aabb.pos;
|
||||
|
||||
Vector3 dirv = -dir;
|
||||
Vector3 ofsv = ofs + aabb.size * dir;
|
||||
|
||||
//space it a little
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue