Пример #1
0
        public void TestVertexBuilderSkin8()
        {
            var v0 = new VERTEXSKINNED8()
                     .WithGeometry(new Vector3(0, 3, 0))
                     .WithSkinning
                     (
                (0, 0.3f),
                (1, 0.2f),
                (2, 0.1f),
                (3, 0.1f),
                (4, 0.1f),
                (5, 0.1f),
                (6, 0.1f)
                     );

            v0.Validate();

            var v1 = new VERTEXSKINNED8()
                     .WithGeometry(new Vector3(0, 3, 0))
                     .WithSkinning
                     (
                (0, 3),
                (1, 2),
                (2, 1),
                (3, 3),
                (4, 4),
                (5, 5),
                (6, 6)
                     );

            v1.Validate();
        }