diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-06-23 18:47:21 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-06-23 18:50:10 +0200 |
commit | b4ed84ba2bed1c06b1648581da68b5394835bb79 (patch) | |
tree | 24a92b8b760e98a02ab7585c8a8fc32b67cd6923 /editor/editor_node.h | |
parent | 3cb153f746a41be897200b0a99d7fc87d4064f50 (diff) |
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.
Diffstat (limited to 'editor/editor_node.h')
0 files changed, 0 insertions, 0 deletions