Exemplo n.º 1
0
 static CATransform3D()
 {
     Identity     = new CATransform3D();
     Identity.m11 = 1f;
     Identity.m22 = 1f;
     Identity.m33 = 1f;
     Identity.m44 = 1f;
 }
Exemplo n.º 2
0
        public static CATransform3D MakeScale(nfloat sx, nfloat sy, nfloat sz)
        {
            CATransform3D r = Identity;

            r.m11 = sx;
            r.m22 = sy;
            r.m33 = sz;

            return(r);
        }
Exemplo n.º 3
0
        public static CATransform3D MakeTranslation(nfloat tx, nfloat ty, nfloat tz)
        {
            //return CATransform3DMakeTranslation (tx, ty, tz);
            CATransform3D r = Identity;

            r.m41 = tx;
            r.m42 = ty;
            r.m43 = tz;

            return(r);
        }
Exemplo n.º 4
0
 public bool Equals(CATransform3D other)
 {
     return(CATransform3DEqualToTransform(this, other));
 }
Exemplo n.º 5
0
 extern static bool CATransform3DEqualToTransform(CATransform3D a, CATransform3D b);
Exemplo n.º 6
0
 extern static bool CATransform3DIsIdentity(CATransform3D t);
Exemplo n.º 7
0
 public extern static CGAffineTransform GetAffine(CATransform3D t);
Exemplo n.º 8
0
 extern static bool CATransform3DIsAffine(CATransform3D t);
Exemplo n.º 9
0
 public CATransform3D Invert(CATransform3D t)
 {
     return(CATransform3DInvert(this));
 }
Exemplo n.º 10
0
 extern static CATransform3D CATransform3DInvert(CATransform3D t);
Exemplo n.º 11
0
 public CATransform3D Concat(CATransform3D b)
 {
     return(CATransform3DConcat(this, b));
 }
Exemplo n.º 12
0
 extern static CATransform3D CATransform3DConcat(CATransform3D a, CATransform3D b);
Exemplo n.º 13
0
 extern static CATransform3D CATransform3DRotate(CATransform3D t, nfloat angle, nfloat x, nfloat y, nfloat z);
Exemplo n.º 14
0
 extern static CATransform3D CATransform3DScale(CATransform3D t, nfloat sx, nfloat sy, nfloat sz);
Exemplo n.º 15
0
 extern static CATransform3D CATransform3DTranslate(CATransform3D t, nfloat tx, nfloat ty, nfloat tz);