text: /**
   * MyObject
   * @constructor
   */
  function Square(scene, minX, minY, maxX, maxY) {
  	CGFobject.call(this,scene);
  
  	this.minS = 0;
  	this.maxS = 1;
  	this.minT = 0;
  	this.maxT = 1;
  
  	this.minX = minX;
  	this.maxX = maxX;
  	this.minY = minY;
  	this.maxY = maxY;
  
  	this.amplifApplied = false;
  
  	this.initBuffers();
  };
  
  Square.prototype = Object.create(CGFobject.prototype);
  Square.prototype.constructor=Square;
  
  Square.prototype.initBuffers = function () {
  
  	this.vertices = [
  			this.minX, this.maxY, 0,
  			this.maxX, this.maxY, 0,
  			this.minX, this.minY, 0,
  			this.maxX, this.minY, 0
  			];
  
  	this.indices = [
              0, 1, 2,
  			3, 2, 1
          ];
  
  	this.primitiveType=this.scene.gl.TRIANGLES;
  
  	this.normals = [
               0,0,1,
               0,0,1,
               0,0,1,
               0,0,1
          ];
  
  	this.originalTexCoords = [
  			this.minS, this.maxT,
  			this.maxS, this.maxT,
  			this.minS, this.minT,
  			this.maxS, this.minT,
  		];
  
  	this.texCoords = this.originalTexCoords.slice();
  
  	this.initGLBuffers();
  
  };
  
  
  
  Square.prototype.scaleTexCoords = function(ampS, ampT) {
  
  	for (var i = 0; i < this.texCoords.length; i += 2) {
  			this.texCoords[i] = this.originalTexCoords[i] / ampS;
  			this.texCoords[i + 1] = this.originalTexCoords[i+1] / ampT;
  	}
  
  	this.updateTexCoordsGLBuffers();
  }
  