Esempio n. 1
0
 public static Geometry <EntityVertex> Arrow()
 {
     return(Circular <EntityVertex> .Circle(10f, 10f.Radians())
            .Stretch(new Mat4[] { Mat.Scaling <Mat4> (0.01f, 0.01f) * Mat.Translation <Mat4> (0f, 0f, -30f) }, false, false)
            .Smoothen(0.9f)
            .Center());
 }
Esempio n. 2
0
 public static Geometry <EntityVertex> Tube()
 {
     return(Circular <EntityVertex> .Circle(10f)
            .Stretch(TubeTransforms(), true, true)
            .Smoothen(0.9f)
            .Center());
 }