using System;
using System.Collections.Generic;
using System.IO;
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using TDCG;

namespace TDCG.Proportion
{
    public class Dom : IProportion
    {
        Dictionary<string, TPONode> nodes;
        public Dictionary<string, TPONode> Nodes { set { nodes = value; } }

        public void Execute()
        {
            TPONode node;

            node = nodes["W_Hips"];
            node.Scale1(1.3F, 1.0F, 1.4F);

            node = nodes["W_LeftUpLeg"];
            node.Scale1(1.3F, 1.0F, 1.2F);

            node = nodes["W_LeftUpLegRoll"];
            node.Scale1(1.3F, 1.0F, 1.2F);

            node = nodes["W_LeftLeg"];
            node.Scale1(1.3F, 1.0F, 1.2F);

            node = nodes["W_RightUpLeg"];
            node.Scale1(1.3F, 1.0F, 1.2F);

            node = nodes["W_RightUpLegRoll"];
            node.Scale1(1.3F, 1.0F, 1.2F);

            node = nodes["W_RightLeg"];
            node.Scale1(1.3F, 1.0F, 1.2F);

            node = nodes["W_Spine_Dummy"];
            node.Scale1(1.3F, 1.0F, 1.3F);
        }
    }
}
