summaryrefslogtreecommitdiff
path: root/modules/opensimplex/SCsub
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-23 18:47:21 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-06-23 18:50:10 +0200
commitb4ed84ba2bed1c06b1648581da68b5394835bb79 (patch)
tree24a92b8b760e98a02ab7585c8a8fc32b67cd6923 /modules/opensimplex/SCsub
parent3cb153f746a41be897200b0a99d7fc87d4064f50 (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 'modules/opensimplex/SCsub')
0 files changed, 0 insertions, 0 deletions