示例#1
0
        // Increases or Decreases the Size (Scale)
        public void Scale(float x, float y, float z)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(x, y, z);
        }
示例#2
0
 //Set this Matrix3 to the values of the specified Matrix3
 public void Set(Matrix3 matrix3)
 {
     m1x1 = matrix3.m1x1; m1x2 = matrix3.m1x2; m1x3 = matrix3.m1x3;
     m2x1 = matrix3.m2x1; m2x2 = matrix3.m2x2; m2x3 = matrix3.m2x3;
     m3x1 = matrix3.m3x1; m3x2 = matrix3.m3x2; m3x3 = matrix3.m3x3;
 }
示例#3
0
 public void Set(Matrix3 scaled)
 {
     m11 = scaled.m11; m12 = scaled.m12; m13 = scaled.m13;
     m21 = scaled.m21; m22 = scaled.m22; m23 = scaled.m23;
     m31 = scaled.m31; m32 = scaled.m32; m33 = scaled.m33;
 }
示例#4
0
 public Matrix3(Matrix3 other)
 {
     m11 = other.m11; m12 = other.m12; m13 = other.m13;
     m21 = other.m21; m22 = other.m22; m23 = other.m23;
     m31 = other.m31; m32 = other.m32; m33 = other.m33;
 }
示例#5
0
 //Sets this Matrix3 to the values of the specified Matrix3
 public void Set(Matrix3 matrix3)
 {
     m11 = matrix3.m11; m12 = matrix3.m12; m13 = matrix3.m13;
     m21 = matrix3.m21; m22 = matrix3.m22; m23 = matrix3.m23;
     m31 = matrix3.m31; m32 = matrix3.m32; m33 = matrix3.m33;
 }