示例#1
0
        public void SetMagnitude(float value)
        {
            DEVector2 dir = Normalized;

            dir *= value;
            x    = dir.x;
            y    = dir.y;
        }
示例#2
0
        public DEGrid()
        {
            right = new DEVector2(1, 0);

            scale = new DEVector2(1, 1);
        }