Beispiel #1
0
        // callbacks
        protected void OnBegin(Glu.PrimitiveType type)
        {
            // ASSERT type == TRIANGLE

            if (type != Glu.PrimitiveType.Triangles)
            {
                // Console.WriteLine ("ERROR: NOT TRIANGLES TYPE (type={0})", type);
            }

            if (BeginEv != null)
            {
                BeginEv(this, type);
            }
        }
 static void verboseBegin(Tesselator <Vertex> tess, Glu.PrimitiveType type)
 {
     Console.WriteLine("BEGIN:" + type);
 }