예제 #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);
            }
        }
예제 #2
0
 static void verboseBegin(Tesselator <Vertex> tess, Glu.PrimitiveType type)
 {
     Console.WriteLine("BEGIN:" + type);
 }