Skip to contents

Generate cone/pyramid mesh.

Usage

gen_mesh_cone(radius, height, slices)

Arguments

radius

A number.

height

A number.

slices

An integer.

Value

A mesh

Note

This function has been auto-generated from the following Raylib function definition:

Mesh GenMeshCone(float radius, float height, int slices);

Examples

if (FALSE) {
gen_mesh_cone(50.0, 100.0, 16L)
}