godot/scene
Hugo Locurcio e7d6f8b8b8
Allow a top and bottom radius equal to 0 in CylinderMesh
The CylinderMesh generation code handles this special case and
avoids generating the top and bottom faces if their radius is equal
to 0. This improves performance by reducing the number of vertices
to draw.

If both values are set to 0, nothing will be visible but the mesh
generation will still succeed.

This also improves the CylinderMesh class documentation.

(cherry picked from commit b4ed84ba2b)
2021-06-29 14:02:22 +02:00
..
2d Prevent setting too big or too small Collision Mask and Layer 2021-06-27 17:40:07 +02:00
3d Prevent setting too big or too small Collision Mask and Layer 2021-06-27 17:40:07 +02:00
animation Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
audio Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
debugger Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
gui Improve nine patch behavior of TextureProgressBar 2021-06-29 12:59:23 +02:00
main Remove duplicate WARN_PRINTS macro 2021-06-18 12:57:59 +01:00
resources Allow a top and bottom radius equal to 0 in CylinderMesh 2021-06-29 14:02:22 +02:00
register_scene_types.cpp Remove duplicate ERR_PRINTS macro 2021-06-16 11:56:25 +01:00
register_scene_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
scene_string_names.cpp Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
scene_string_names.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00