Esempio n. 1
0
        /// <summary>
        ///   <para>Creates a translation, rotation and scaling matrix.</para>
        /// </summary>
        /// <param name="pos"></param>
        /// <param name="q"></param>
        /// <param name="s"></param>
        public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
        {
            Matrix4x4 matrix4x4;

            Matrix4x4.INTERNAL_CALL_TRS(ref pos, ref q, ref s, out matrix4x4);
            return(matrix4x4);
        }
Esempio n. 2
0
        public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
        {
            Matrix4x4 result;

            Matrix4x4.INTERNAL_CALL_TRS(ref pos, ref q, ref s, out result);
            return(result);
        }
Esempio n. 3
0
 public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
 {
     return(Matrix4x4.INTERNAL_CALL_TRS(ref pos, ref q, ref s));
 }