Esempio n. 1
0
        public void Scale(Vector3 v)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(v);
            Set(this * m);
        }
Esempio n. 2
0
        //set this matrix 3 to a scale matrix with specified values
        public void Scale(float x, float y, float z)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(x, y, z);
            Set(this * m);
        }
Esempio n. 3
0
        public void Scaled(float x, float y, float z)
        {
            Matrix3 scale = new Matrix3();

            scale.SetScaled(x, y, z);

            Set(this * scale);
        }
Esempio n. 4
0
        public void Scaled(Vector3 scaleVector)
        {
            Matrix3 scale = new Matrix3();

            scale.SetScaled(scaleVector.x, scaleVector.y, scaleVector.z);

            Set(this * scale);
        }
Esempio n. 5
0
        public void Scale(float X, float Y, float Z)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(X, Y, Z);

            Set(this * m);
        }