Пример #1
0
        public static IndexedMatrix CreateScale(float scale)
        {
            IndexedMatrix result = IndexedMatrix.Identity;

            result._basis = IndexedBasisMatrix.CreateScale(new IndexedVector3(scale));
            return(result);
        }
Пример #2
0
        public static IndexedMatrix CreateScale(IndexedVector3 scales)
        {
            IndexedMatrix result = IndexedMatrix.Identity;

            result._basis = IndexedBasisMatrix.CreateScale(scales);
            return(result);
        }
Пример #3
0
        public static IndexedMatrix CreateScale(float x, float y, float z)
        {
            IndexedMatrix IndexedMatrix = IndexedMatrix.Identity;

            IndexedMatrix._basis = IndexedBasisMatrix.CreateScale(new IndexedVector3(x, y, z));
            return(IndexedMatrix);
        }
Пример #4
0
 public static void CreateScale(float scale, out IndexedMatrix result)
 {
     result        = IndexedMatrix.Identity;
     result._basis = IndexedBasisMatrix.CreateScale(new IndexedVector3(scale));
 }
Пример #5
0
 public static void CreateScale(ref IndexedVector3 scales, out IndexedMatrix result)
 {
     result        = IndexedMatrix.Identity;
     result._basis = IndexedBasisMatrix.CreateScale(scales);
 }