public static createCapsule ( float height, float endRadius, int edges ) : Vertices | ||
height | float | Height (inner height + 2 * radius) of the capsule. |
endRadius | float | Radius of the capsule ends. |
edges | int | The number of edges of the capsule ends. The more edges, the more it resembles an capsule |
return | Vertices |
PolygonTools::createCapsule ( float height, float topRadius, int topEdges, float bottomRadius, int bottomEdges ) : Vertices |