I have a method creating a cone, such as in the following code snippet.
Could you explain me how this cone created by CreateCone(...) can be used in a XAML file in the same solution.
C# Code snippet :
public partial class MainWindow : Window
{
public Window()
{
InitializeComponent();
CreateCone(new Point3D(0, 0, 0), 0, 0.025, 0.1, 100, Colors.Red);
}
}