コード例 #1
0
        /// <summary>
        /// Returns a new transform based on the specified matrix values (4x4).
        /// </summary>
        ///
        /// <param name="values">16 double values that represent the transformation matrix</param>
        /// <returns>a new transform</returns>
        ///
        public static Transform from(params double[] values)
        {
            Matrix4d m = new Matrix4d(values);

            return(new Transform(m));
        }
コード例 #2
0
 /// <summary>
 /// Constructor.
 /// </summary>
 ///
 /// <param name="m">matrix</param>
 ///
 private Transform(Matrix4d m)
 {
     this.m = m;
 }