public void Scale(Vector3 v)
        {
            Matrix3 m = new Matrix3();

            m.SetScaled(v);
            Set(this * m);
        }
        //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);
        }
Beispiel #3
0
        public void Scaled(float x, float y, float z)
        {
            Matrix3 scale = new Matrix3();

            scale.SetScaled(x, y, z);

            Set(this * scale);
        }
Beispiel #4
0
        public void Scaled(Vector3 scaleVector)
        {
            Matrix3 scale = new Matrix3();

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

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

            m.SetScaled(X, Y, Z);

            Set(this * m);
        }