diff options
| author | Rémi Verschelde | 2017-09-12 11:39:47 +0200 |
|---|---|---|
| committer | GitHub | 2017-09-12 11:39:47 +0200 |
| commit | 2b50dc5d4f0b9d0c6fd5463b5d89d17578b388ab (patch) | |
| tree | c3bd911221cb9e3850f28bf5e5c605fcbad1089e /scene/resources/primitive_meshes.cpp | |
| parent | d455b13fcf7ff7ce5d62c08d97e035cf27805be5 (diff) | |
| parent | 67a706fc1b9721f3f06eef8be7312f175e2041ce (diff) | |
| download | godot-2b50dc5d4f0b9d0c6fd5463b5d89d17578b388ab.tar.gz godot-2b50dc5d4f0b9d0c6fd5463b5d89d17578b388ab.tar.zst godot-2b50dc5d4f0b9d0c6fd5463b5d89d17578b388ab.zip | |
Diffstat (limited to 'scene/resources/primitive_meshes.cpp')
| -rw-r--r-- | scene/resources/primitive_meshes.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scene/resources/primitive_meshes.cpp b/scene/resources/primitive_meshes.cpp index 52e080bdc..ba356d89b 100644 --- a/scene/resources/primitive_meshes.cpp +++ b/scene/resources/primitive_meshes.cpp @@ -230,7 +230,6 @@ void CapsuleMesh::_create_mesh_array(Array &p_arr) const { prevrow = 0; for (j = 0; j <= (rings + 1); j++) { v = j; - w; v /= (rings + 1); w = sin(0.5 * Math_PI * v); @@ -309,7 +308,6 @@ void CapsuleMesh::_create_mesh_array(Array &p_arr) const { prevrow = 0; for (j = 0; j <= (rings + 1); j++) { v = j; - w; v /= (rings + 1); v += 1.0; |
