function Grid(engine) {
    var _this;

    classCallCheck_default()(this, Grid);

    _this = possibleConstructorReturn_default()(this, getPrototypeOf_default()(Grid).call(this, engine));

    defineProperty_default()(assertThisInitialized_default()(_this), "cellSize", void 0);

    defineProperty_default()(assertThisInitialized_default()(_this), "movingMatrix", []);

    _this.shaderProgram = _this.engine.shaders.grid;
    _this.cellSize = [1000, 1000];
    _this.name = "Just a gird :)";
    return _this;
  }
/**
   * Flat rectangle with square texture.
   * @param engine
   */
Flat rectangle with square texture.
@param engine
Flat rectangle with square texture . @param engine
function Grid(engine) {
    var _this;
    classCallCheck_default()(this, Grid);
    _this = possibleConstructorReturn_default()(this, getPrototypeOf_default()(Grid).call(this, engine));
    defineProperty_default()(assertThisInitialized_default()(_this), "cellSize", void 0);
    defineProperty_default()(assertThisInitialized_default()(_this), "movingMatrix", []);
    _this.shaderProgram = _this.engine.shaders.grid;
    _this.cellSize = [1000, 1000];
    _this.name = "Just a gird :)";
    return _this;
  }
function Grid ( engine ) { var _this ; classCallCheck_default ( ) ( this , Grid ) ; _this = possibleConstructorReturn_default ( ) ( this , getPrototypeOf_default ( ) ( Grid ) . call ( this , engine ) ) ; defineProperty_default ( ) ( assertThisInitialized_default ( ) ( _this ) , "cellSize" , void 0 ) ; defineProperty_default ( ) ( assertThisInitialized_default ( ) ( _this ) , "movingMatrix" , [ ] ) ; _this . shaderProgram = _this . engine . shaders . grid ; _this . cellSize = [ 1000 , 1000 ] ; _this . name = "Just a gird :)" ; return _this ; }
Flat rectangle with square texture.
Flat rectangle with square texture .