Esempio n. 1
0
        public static SharpDX.Matrix3x2 ToSharpDX(
            this Jupiter.Media.Transform transform)
        {
            var matrixTransform = transform as Jupiter.Media.MatrixTransform;

            if (matrixTransform != null)
            {
                return(matrixTransform.Matrix.ToSharpDX());
            }

            throw new NotImplementedException();
        }
Esempio n. 2
0
 public static IMatrix ToEtoMatrix(this swm.Transform transform)
 {
     return(new MatrixHandler(transform.Value));
 }