Exemple #1
0
            public Triangulo(int a)
            {
                vert = new VerticeTemporal[3];
                tex  = new TexturaTemporal[3];
                nor  = new NormalTemporal[3];

                for (int i = 0; i < 3; i++)
                {
                    vert[i] = new VerticeTemporal();
                    tex[i]  = new TexturaTemporal();
                    nor[i]  = new NormalTemporal();
                }
            }
Exemple #2
0
            public Triangulo(VerticeTemporal v1, VerticeTemporal v2, VerticeTemporal v3)
            {
                vert1 = v1;
                vert2 = v2;
                vert3 = v3;

                tex1 = new TexturaTemporal();
                tex2 = new TexturaTemporal();
                tex3 = new TexturaTemporal();

                nor1 = new NormalTemporal();
                nor2 = new NormalTemporal();
                nor3 = new NormalTemporal();
            }
Exemple #3
0
            public Triangulo(VerticeTemporal v1, VerticeTemporal v2, VerticeTemporal v3)
            {
                vert = new VerticeTemporal[3];
                tex  = new TexturaTemporal[3];
                nor  = new NormalTemporal[3];

                vert[0] = v1;
                vert[1] = v2;
                vert[2] = v3;


                for (int i = 0; i < 3; i++)
                {
                    tex[i] = new TexturaTemporal();
                    nor[i] = new NormalTemporal();
                }
            }
Exemple #4
0
            public Triangulo(VerticeTemporal v1, VerticeTemporal v2, VerticeTemporal v3)
            {
                vert = new VerticeTemporal[3];
                tex = new TexturaTemporal[3];
                nor = new NormalTemporal[3];

                vert[0] = v1;
                vert[1] = v2;
                vert[2] = v3;

                for (int i=0; i<3; i++)
                {
                    tex[i] = new TexturaTemporal();
                    nor[i] = new NormalTemporal();
                }
            }
Exemple #5
0
            public Triangulo(int a)
            {
                vert = new VerticeTemporal[3];
                tex = new TexturaTemporal[3];
                nor = new NormalTemporal[3];

                for (int i = 0; i < 3; i++)
                {
                    vert[i] = new VerticeTemporal();
                    tex[i] = new TexturaTemporal();
                    nor[i] = new NormalTemporal();
                }
            }
Exemple #6
0
            public Triangulo(VerticeTemporal v1, VerticeTemporal v2, VerticeTemporal v3)
            {
                vert1 = v1;
                vert2 = v2;
                vert3 = v3;

                tex1 = new TexturaTemporal();
                tex2 = new TexturaTemporal();
                tex3 = new TexturaTemporal();

                nor1 = new NormalTemporal();
                nor2 = new NormalTemporal();
                nor3 = new NormalTemporal();
            }