Add built-in cone mesh type.
Also delete `prism` type since it is subsumed by cone. PiperOrigin-RevId: 790992343 Change-Id: I7a9c6f2a4377489173acd64b23086c748d2cee8e
This commit is contained in:
committed by
Copybara-Service
parent
4a91c34239
commit
a5a6379f83
@@ -1340,15 +1340,13 @@ The full list of processing steps applied by the compiler to each mesh is as fol
|
||||
|
||||
**subdivision**: integer in [0-10]: The number of subdivisions to apply to the pyramid.
|
||||
|
||||
:at-val:`prism` (nvert)
|
||||
An extruded regular unit polygon.
|
||||
|
||||
**nvert**: integer >= 3: The number vertices in the polygon.
|
||||
|
||||
:at-val:`cone` (nvert)
|
||||
The convex hull of a regular unit polygon and the vertex (0, 0, 1).
|
||||
:at-val:`cone` (nvert, radius)
|
||||
The convex hull of a regular unit polygon at z = -1 and a unit polygon with the given radiusat z = 1.
|
||||
If radius is 1, the mesh a prism. If radius is 0, only a single vertex is place at (0, 0, 1) and the mesh is a
|
||||
discrete cone. If radius is positive, the mesh is a truncated discrete cone.
|
||||
|
||||
**nvert**: integer >= 3: The number vertices in the polygon.
|
||||
|br| **radius**: real in [0, 1]: The radius of the top face.
|
||||
|
||||
:at-val:`torus` (radius, resolution)
|
||||
A torus with major radius of 1 and given minor radius.
|
||||
|
||||
Reference in New Issue
Block a user