示例#1
0
 public void SetSkewY(float a)
 {
     T1 = 1.0f;
     T2 = NvgUtility.tanf(a);
     T3 = 0.0f;
     T4 = 1.0f;
     T5 = 0.0f;
     T6 = 0.0f;
 }
示例#2
0
        public void SetRotate(float a)
        {
            var cs = NvgUtility.cosf(a);
            var sn = NvgUtility.sinf(a);

            T1 = cs;
            T2 = sn;
            T3 = -sn;
            T4 = cs;
            T5 = 0.0f;
            T6 = 0.0f;
        }