setScale(scale) {
        if(!scale.type || scale.type !== "Vec2") {
            if(!this.renderer.production) {
                throwWarning(this.type + ": Cannot set scale because the parameter passed is not of Vec2 type:", scale);
            }

            return;
        }

        scale.sanitizeNaNValuesWith(this.scale).max(tempVec2.set(0.001, 0.001));

        if(!scale.equals(this.scale)) {
            this.scale.copy(scale);

            this.resize();
        }
    }
Set the texture scale and then update its matrix

     params:
     @scale (Vec2 object): scale to apply on X and Y axes
*