Simple Pine Tree Generator

The function simplePineGenerator uses a tube to generate a tree.
A demo can be found at: Simple Pine Tree Generator Example
How to use it.
Clone or copy the file https://github.com/BabylonJS/Extensions/tree/master/TreeGenerators/SimplePineGenerator
Call the function.
const tree = simplePineGenerator(canopies, height, trunkMaterial, leafMaterial, scene);Parameters
canopies - Number of leaf sections.
height - Height of the tree.
trunkMaterial - Material used for the trunk.
leafMaterial - Material for the canopies.
scene - The BABYLON scene.