Comparing version 0.1.0 to 0.2.0
26
index.js
@@ -31,17 +31,17 @@ 'use strict'; | ||
var _BasicMeshProgram = require('./programs/BasicMeshProgram'); | ||
var _BasicMeshMaterial = require('./materials/BasicMeshMaterial'); | ||
var _BasicMeshProgram2 = _interopRequireDefault(_BasicMeshProgram); | ||
var _BasicMeshMaterial2 = _interopRequireDefault(_BasicMeshMaterial); | ||
var _ComplexMeshProgram = require('./programs/ComplexMeshProgram'); | ||
var _ComplexMeshMaterial = require('./materials/ComplexMeshMaterial'); | ||
var _ComplexMeshProgram2 = _interopRequireDefault(_ComplexMeshProgram); | ||
var _ComplexMeshMaterial2 = _interopRequireDefault(_ComplexMeshMaterial); | ||
var _SpriteProgram = require('./programs/SpriteProgram'); | ||
var _SpriteMaterial = require('./materials/SpriteMaterial'); | ||
var _SpriteProgram2 = _interopRequireDefault(_SpriteProgram); | ||
var _SpriteMaterial2 = _interopRequireDefault(_SpriteMaterial); | ||
var _MultiSpriteProgram = require('./programs/MultiSpriteProgram'); | ||
var _MultiSpriteMaterial = require('./materials/MultiSpriteMaterial'); | ||
var _MultiSpriteProgram2 = _interopRequireDefault(_MultiSpriteProgram); | ||
var _MultiSpriteMaterial2 = _interopRequireDefault(_MultiSpriteMaterial); | ||
@@ -128,6 +128,6 @@ var _Mesh = require('./Mesh'); | ||
ShaderProgram: _ShaderProgram2.default, | ||
BasicMeshProgram: _BasicMeshProgram2.default, | ||
ComplexMeshProgram: _ComplexMeshProgram2.default, | ||
SpriteProgram: _SpriteProgram2.default, | ||
MultiSpriteProgram: _MultiSpriteProgram2.default, | ||
BasicMeshMaterial: _BasicMeshMaterial2.default, | ||
ComplexMeshMaterial: _ComplexMeshMaterial2.default, | ||
SpriteMaterial: _SpriteMaterial2.default, | ||
MultiSpriteMaterial: _MultiSpriteMaterial2.default, | ||
Scene: _Scene2.default, | ||
@@ -153,2 +153,2 @@ Texture: _Texture2.default, | ||
module.exports = dgl; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2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cbiAgICBSZW5kZXJlcixcbiAgICBPYmplY3QzRCxcbiAgICBQZXJzcGVjdGl2ZUNhbWVyYSxcbiAgICBPcnRob2dyYXBoaWNDYW1lcmEsXG4gICAgQnVmZmVyLFxuICAgIEdlb21ldHJ5LFxuICAgIE1lc2gsXG4gICAgU3ByaXRlLFxuICAgIE11bHRpU3ByaXRlLFxuICAgIFNoYWRlclByb2dyYW0sXG4gICAgQmFzaWNNZXNoTWF0ZXJpYWwsXG4gICAgQ29tcGxleE1lc2hNYXRlcmlhbCxcbiAgICBTcHJpdGVNYXRlcmlhbCxcbiAgICBNdWx0aVNwcml0ZU1hdGVyaWFsLFxuICAgIFNjZW5lLFxuICAgIFRleHR1cmUsXG4gICAgQW1iaWVudExpZ2h0LFxuICAgIERpcmVjdGlvbmFsTGlnaHQsXG4gICAgUmF5Y2FzdGVyLFxuICAgIFJlbmRlclRhcmdldCxcbiAgICBSYXksXG4gICAgUGxhbmUsXG4gICAgRnJ1c3R1bSxcbiAgICBCb3gsXG4gICAgTGluZTMsXG4gICAgTWF0aDogbWF0aCxcbiAgICB2ZWMzLFxuICAgIG1hdDMsXG4gICAgdmVjMixcbiAgICBtYXQ0LFxuICAgIHF1YXRcbn07XG5cbm1vZHVsZS5leHBvcnRzID0gZGdsO1xuIl19 |
16
Mesh.js
@@ -34,6 +34,6 @@ 'use strict'; | ||
* @param {Geometry} geometry Геометрия меша | ||
* @param {Program} program Программа для отрисовки меша | ||
* @param {Material} material Программа для отрисовки меша | ||
*/ | ||
function Mesh(geometry, program) { | ||
function Mesh(geometry, material) { | ||
_classCallCheck(this, Mesh); | ||
@@ -52,5 +52,5 @@ | ||
* Программа для отрисовки меша | ||
* @type {Program} | ||
* @type {Material} | ||
*/ | ||
_this.program = program; | ||
_this.material = material; | ||
return _this; | ||
@@ -79,7 +79,7 @@ } | ||
state.object = this; | ||
this.program.enable(state); | ||
this.material.enable(state); | ||
gl.drawArrays(gl.TRIANGLES, 0, this.geometry.getBuffer('position').length); | ||
this.program.disable(gl); | ||
this.material.disable(gl); | ||
@@ -162,3 +162,3 @@ return this; | ||
this.program.typifyForRender(typedObjects, this); | ||
this.material.typifyForRender(typedObjects, this); | ||
@@ -178,2 +178,2 @@ this.children.forEach(function (child) { | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9NZXNoLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFRTTs7Ozs7Ozs7QUFLRixhQUxFLElBS0YsQ0FBWSxRQUFaLEVBQXNCLE9BQXRCLEVBQStCOzhCQUw3QixNQUs2Qjs7Ozs7OzsyRUFMN0Isa0JBSzZCOztBQU8zQixjQUFLLFFBQUwsR0FBZ0IsUUFBaEI7Ozs7OztBQVAyQixhQWEzQixDQUFLLE9BQUwsR0FBZSxPQUFmLENBYjJCOztLQUEvQjs7Ozs7Ozs7aUJBTEU7OytCQXlCSyxPQUFPO0FBQ1YsZ0JBQU0sS0FBSyxNQUFNLEVBQU4sQ0FERDs7QUFHVixnQkFBSSxDQUFDLEtBQUssT0FBTCxFQUFjO0FBQUUsdUJBQU8sSUFBUCxDQUFGO2FBQW5COztBQUVBLGdCQUFJLEtBQUssc0JBQUwsRUFBNkI7QUFDN0IscUJBQUssaUJBQUwsR0FENkI7YUFBakM7O0FBSUEsa0JBQU0sTUFBTixHQUFlLElBQWYsQ0FUVTtBQVVWLGlCQUFLLE9BQUwsQ0FBYSxNQUFiLENBQW9CLEtBQXBCLEVBVlU7O0FBWVYsZUFBRyxVQUFILENBQWMsR0FBRyxTQUFILEVBQWMsQ0FBNUIsRUFBK0IsS0FBSyxRQUFMLENBQWMsU0FBZCxDQUF3QixVQUF4QixFQUFvQyxNQUFwQyxDQUEvQixDQVpVOztBQWNWLGlCQUFLLE9BQUwsQ0FBYSxPQUFiLENBQXFCLEVBQXJCLE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escriptor[]} sprites Описание спрайтов, входящих в мультиспрайт | ||
* @param {SpriteProgram} program | ||
* @param {SpriteMaterial} material | ||
*/ | ||
function MultiSprite(sprites, program) { | ||
function MultiSprite(sprites, material) { | ||
_classCallCheck(this, MultiSprite); | ||
@@ -51,3 +51,3 @@ | ||
* Программа отрисовки спрайта | ||
* @type {SpriteProgram} | ||
* @type {SpriteMaterial} | ||
*/ | ||
@@ -57,3 +57,3 @@ | ||
_this.program = program; | ||
_this.material = material; | ||
@@ -239,5 +239,5 @@ _this._initArrays(sprites); | ||
this.program.enable(state); | ||
this.material.enable(state); | ||
gl.drawArrays(gl.TRIANGLES, 0, this._geometry.getBuffer('disposition').length); | ||
this.program.disable(); | ||
this.material.disable(); | ||
@@ -258,7 +258,7 @@ return this; | ||
// Если cпрайт невидим или у программы спрайта не установлена текстура, то не рендерим его | ||
if (!this.visible || !this.program.getTexture()) { | ||
if (!this.visible || !this.material.getTexture()) { | ||
return this; | ||
} | ||
this.program.typifyForRender(typedObjects, this); | ||
this.material.typifyForRender(typedObjects, this); | ||
@@ -353,2 +353,2 @@ this.children.forEach(function (child) { | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9NdWx0aVNwcml0ZS5qcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7SUFXTTs7Ozs7Ozs7QUFLRixhQUxFLFdBS0YsQ0FBWSxPQUFaLEVBQXFCLE9BQXJCLEVBQThCOzhCQUw1QixhQUs0Qjs7Ozs7OzsyRUFMNUIseUJBSzRCOztBQU8xQixjQUFLLE9BQUwsR0FBZSxPQUFmLENBUDBCOztBQVMxQixjQUFLLFdBQUwsQ0FBaUIsT0FBakIsRUFUMEI7QUFVMUIsY0FBSyxhQUFMLEdBVjBCOztLQUE5Qjs7Ozs7Ozs7OztpQ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cnQgKyA0XSA9IHZhbHVlO1xuICAgICAgICBhcnJbc3RhcnQgKyA1XSA9IHZhbHVlO1xuXG4gICAgICAgIHRoaXMuX2RhdGEuY29sb3JBbHBoYS5kaXJ0eSA9IHRydWU7XG5cbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICog0KPRgdGC0LDQvdCw0LLQu9C40LLQsNC10YIg0YHQv9GA0LDQudGC0YMg0L/QvtC30LjRhtC40Y5cbiAgICAgKlxuICAgICAqIEBwYXJhbSB7TnVtYmVyfSBzcHJpdGVJbmRleCDQmNC90LTQtdC60YEg0YHQv9GA0LDQudGC0LBcbiAgICAgKiBAcGFyYW0ge3ZlYzJ9ICAgdmFsdWUgICAgICAg0J3QvtCy0L7QtSDQt9C90LDRh9C10L3QuNC1INC/0L7Qt9C40YbQuNC4XG4gICAgICovXG4gICAgc2V0UG9zaXRpb24oc3ByaXRlSW5kZXgsIHZhbHVlKSB7XG4gICAgICAgIGNvbnN0IGFyciA9IHRoaXMuX2RhdGEucG9zaXRpb24uYXJyYXk7XG4gICAgICAgIGNvbnN0IHN0YXJ0ID0gc3ByaXRlSW5kZXggKiAxODtcblxuICAgICAgICBhcnJbc3RhcnRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDFdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDNdID0gdmFsdWVbMF07IGFycltzdGFydCArIDRdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDZdID0gdmFsdWVbMF07IGFycltzdGFydCArIDddID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDldID0gdmFsdWVbMF07IGFycltzdGFydCArIDEwXSA9IHZhbHVlWzFdO1xuICAgICAgICBhcnJbc3RhcnQgKyAxMl0gPSB2YWx1ZVswXTsgYXJyW3N0YXJ0ICsgMTNdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDE1XSA9IHZhbHVlWzBdOyBhc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ge051bWJlcn0gc3ByaXRlSW5kZXgg0JjQvdC00LXQutGBINGB0L/RgNCw0LnRgtCwXG4gICAgICogQHBhcmFtIHt2ZWMyfSAgIHZhbHVlICAgICAgINCd0L7QstC+0LUg0LfQvdCw0YfQtdC90LjQtSDRgNCw0LfQvNC10YDQsFxuICAgICAqL1xuICAgIHNldFNpemUoc3ByaXRlSW5kZXgsIHZhbHVlKSB7XG4gICAgICAgIGNvbnN0IGFyciA9IHRoaXMuX2RhdGEuc2NhbGUuYXJyYXk7XG4gICAgICAgIGNvbnN0IHN0YXJ0ID0gc3ByaXRlSW5kZXggKiAxMjtcblxuICAgICAgICBhcnJbc3RhcnRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDFdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDJdID0gdmFsdWVbMF07IGFycltzdGFydCArIDNdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDVdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDZdID0gdmFsdWVbMF07IGFycltzdGFydCArIDddID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDhdID0gdmFsdWVbMF07IGFycltzdGFydCArIDldID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDEwXSA9IHZhbHVlWzBdOyBhcnJbc3RhcnQgKyAxMV0gPSB2YWx1ZVsxXTtcblxuICAgICAgICB0aGlzLl9kYXRhLnNjYWxlLmRpcnR5ID0gdHJ1ZTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyBj0LzQtdGJ0LXQvdC40LVcbiAgICAgKlxuICAgICAqIEBwYXJhbSB7TnVtYmVyfSBzcHJpdGVJbmRleCDQmNC90LTQtdC60YEg0YHQv9GA0LDQudGC0LBcbi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c3ByaXRlcy5sZW5ndGg7XG5cbiAgICAgICAgY29uc3QgZWxlbWVudERpc3Bvc2l0aW9uID0gW1xuICAgICAgICAgICAgMC41LCAtMC41LCAwLFxuICAgICAgICAgICAgMC41LCAwLjUsIDAsXG4gICAgICAgICAgICAtMC41LCAtMC41LCAwLFxuXG4gICAgICAgICAgICAtMC41LCAwLjUsIDAsXG4gICAgICAgICAgICAtMC41LCAtMC41LCAwLFxuICAgICAgICAgICAgMC41LCAwLjUsIDBcbiAgICAgICAgXTtcblxuICAgICAgICBjb25zdCBkaXNwb3NpdGlvbkFycmF5ID0gbmV3IEZsb2F0MzJBcnJheShzcHJpdGVDb3VudCAqIDE4KTtcbiAgICAgICAgY29uc3QgdGV4dHVyZUFycmF5ID0gbmV3IEZsb2F0MzJBcnJheShzcHJpdGVDb3VudCAqIDEyKTtcblxuICAgICAgICBjb25zdCBwb3NpdGlvbkFycmF5ID0gbmV3IEZsb2F0MzJBcnJheShzcHJpdGVDb3VudCAqIDE4KTtcbiAgICAgICAgY29uc3Qgc2NhbGVBcnJheSA9IG5ldyBGbG9hdDMyQXJyYXkoc3ByaXRlQ291bnQgKiAxMik7XG4gICAgICAgIGNvbnN0IG9mZnNldEFycmF5ID0gbmV3IEZsb2F0MzJBcnJheShzcHJpdGVDb3VudCAqIDEyKTtcbiAgICAgICAgY29uc3QgY29sb3JBbHBoYUFycmF5ID0gbmV3IEZsb2F0MzJBcnJheShzcHJpdGVDb3VudCAqIDYpO1xuXG4gICAgICAgIHRoaXMuX2RhdGEgPSB7XG4gICAgICAgICAgICBkaXNwb3NpdGlvbjoge2FycmF5OiBkaXNwb3NpdGlvbkFycmF5LCBkaXJ0eTogZmFsc2V9LFxuICAgICAgICAgICAgdGV4dHVyZToge2FycmF5OiB0ZXh0dXJlQXJyYXksIGRpcnR5OiBmYWxzZX0sXG4gICAgICAgICAgICBwb3NpdGlvbjoge2FycmF5OiBwb3NpdGlvbkFycmF5LCBkaXJ0eTogZmFsc2V9LFxu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cbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyBvcGFjaXR5XG4gICAgICpcbiAgICAgKiBAcGFyYW0ge051bWJlcn0gc3ByaXRlSW5kZXgg0JjQvdC00LXQutGBINGB0L/RgNCw0LnRgtCwXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHZhbHVlICAgICAgINCd0L7QstC+0LUg0LfQvdCw0YfQtdC90LjQtSBvcGFjaXR5XG4gICAgICovXG4gICAgc2V0T3BhY2l0eShzcHJpdGVJbmRleCwgdmFsdWUpIHtcbiAgICAgICAgY29uc3QgYXJyID0gdGhpcy5fZGF0YS5jb2xvckFscGhhLmFycmF5O1xuICAgICAgICBjb25zdCBzdGFydCA9IHNwcml0ZUluZGV4ICogNjtcblxuICAgICAgICBhcnJbc3RhcnRdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDFdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDJdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDNdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWU7XG4gICAgICAgIGFycltzdGFydCArIDVdID0gdmFsdWU7XG5cbiAgICAgICAgdGhpcy5fZGF0YS5jb2xvckFscGhhLmRpcnR5ID0gdHJ1ZTtcblxuICAgICAgICByZXR1cm4gdGhpcztcbiAgICB9XG5cbiAgICAvKipcbiAgICAgKiDQo9GB0YLQsNC90LDQstC70LjQstCw0LXRgiDRgdC/0YDQsNC50YLRgyDQv9C+0LfQuNGG0LjRjlxuICAgICAqXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHNwcml0ZUluZGV4INCY0L3QtNC10LrRgSDRgdC/0YDQsNC50YLQsFxuICAgICAqIEBwYXJhbSB7dmVjMn0gICB2YWx1ZSAgICAgICDQndC+0LLQvtC1INC30L3QsNGH0LXQvdC40LUg0L/QvtC30LjRhtC40L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gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDJdID0gdmFsdWVbMF07IGFycltzdGFydCArIDNdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDRdID0gdmFsdWVbMF07IGFycltzdGFydCArIDVdID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDZdID0gdmFsdWVbMF07IGFycltzdGFydCArIDddID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDhdID0gdmFsdWVbMF07IGFycltzdGFydCArIDldID0gdmFsdWVbMV07XG4gICAgICAgIGFycltzdGFydCArIDEwXSA9IHZhbHVlWzBdOyBhcnJbc3RhcnQgKyAxMV0gPSB2YWx1ZVsxXTtcblxuICAgICAgICB0aGlzLl9kYXRhLm9mZnNldC5kaXJ0eSA9IHRydWU7XG5cbiAgICAgICAgcmV0dXJuIHRoaXM7XG4gICAgfVxuXG4gICAgLyoqXG4gICAgICog0KPRgdGC0LDQvdCw0LLQu9C40LLQsNC10YIg0YHQv9GA0LDQudGC0YMg0L3QvtCy0YvQtSBVVi3QutC+0L7RgNC00LjQvdCw0YLRi1xuICAgICAqXG4gICAgICogQHBhcmFtIHtOdW1iZXJ9IHNwcml0ZUluZGV4INCY0L3QtNC10LrRgSDRgdC/0YDQsNC50YLQsFxuICAgICAqIEBwYXJhbSB7QXJyYXl9ICBib3VuZCAgICAgICDQndC+0LLQvtC1INC30L3QsNGH0LXQvdC40LUg0LrQvtC+0YDQtNC40L3QsNGCXG4gICAgICovXG4gICAgc2V0VVYoc3ByaXRlSW5kZXgsIGJvdW5kKSB7XG4gICAgICAgIGNvbnN0IGFyciA9IHRoaXMuX2RhdGEudGV4dHVyZS5hcnJheTtcbiAgICAgICAgY29uc3Qgc3RhcnQgPSBzcHJpdGVJbmRleCAqIDEyO1xuXG4gICAgICAgIGFycltzdGFydF0gPSBib3VuZFsyXTsgYXJyW3N0YXJ0ICsgMV0gPSAxIC0gYm91bmRbM107XG4gICAgICAgIGFyc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LQsNC60LjRhSDQvtCx0YrQtdC60YLQvtCyINC/0LXRgNC10LTQsNGR0YLRgdGPINCyINC60L7QvdGB0YLRgNGD0LrRgtC+0YAg0LrQu9Cw0YHRgdCwXG4gKiBNdWx0aVNwcml0ZVxuICpcbiAqIEB0eXBlZGVmIHtPYmplY3R9IFNwcml0ZURlc2NyaXB0b3JcbiAqIEBwcm9wZXJ0eSB7dmVjMn0gcG9zaXRpb24g0JrQvtC+0YDQtNC40L3QsNGC0Ysg0YHQv9GA0LDQudGC0LAg0LIg0L/Qu9C+0YHQutC+0YHRgtC4IFhZXG4gKiBAcHJvcGVydHkge3ZlYzJ9IHNpemUg0KDQsNC30LzQtdGAINGB0L/RgNCw0LnRgtCwINCyINC/0LjQutGB0LXQu9GP0YVcbiAqIEBwcm9wZXJ0eSB7dmVjMn0gb2Zmc2V0INCh0LzQtdGJ0LXQvdC40LUg0YHQv9GA0LDQudGC0LAg0LIg0L/QuNC60YHQtdC70Y/RhSDQsiDQv9C70L7RgdC60L7RgdGC0Lgg0Y3QutGA0LDQvdCwXG4gKiBAcHJvcGVydHkge051bWJlcn0gZWxldmF0aW9uINCS0YvRgdC+0YLQsCDRgdC/0YDQsNC50YLQsCDQv9C+INC+0YHQuCBaXG4gKiBAcHJvcGVydHkge051bWJlcn0gb3BhY2l0eSDQntC/0LDRgdC40YLQuCDRgdC/0YDQsNC50YLQsFxuICogQHByb3BlcnR5IHtBcnJheX0gdXYg0JrQvtC+0YDQtNC40L3QsNGC0Ysg0YLQtdC60YHRgtGD0YDRiyDRgdC/0YDQsNC50YLQsFxuICovXG4iXX0= |
{ | ||
"name": "2gl", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "WebGL library for 2GIS projects", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -11,4 +11,4 @@ # 2gl [![Build Status](https://travis-ci.org/2gis/2gl.svg?branch=master)](https://travis-ci.org/2gis/2gl) [![Coverage Status](https://coveralls.io/repos/2gis/2gl/badge.svg?branch=master&service=github)](https://coveralls.io/github/2gis/2gl?branch=master) | ||
1. [Basic mesh](https://2gis.github.io/2gl/docs/BasicMeshProgram.html) - меш, закрашивается в один цвет | ||
2. [Complex mesh](https://2gis.github.io/2gl/docs/ComplexMeshProgram.html) - меш, для которого можно устанавить: цвета для каждой из вершин, освещение, текстуру и определять для какой из вершин будет использоваться текстура | ||
1. [Basic mesh](https://2gis.github.io/2gl/docs/BasicMeshMaterial.html) - меш, закрашивается в один цвет | ||
2. [Complex mesh](https://2gis.github.io/2gl/docs/ComplexMeshMaterial.html) - меш, для которого можно устанавить: цвета для каждой из вершин, освещение, текстуру и определять для какой из вершин будет использоваться текстура | ||
3. [Sprite](https://2gis.github.io/2gl/docs/Sprite.html) - спрайт, к камере расположен всегда одной гранью, удалённость не влияет на размеры изображения | ||
@@ -15,0 +15,0 @@ 4. [MultiSprite](https://2gis.github.io/2gl/docs/MultiSprite.html) - мультиспрайт представляет собой множество спрайтов, которые рисуются в один draw call |
@@ -35,6 +35,6 @@ 'use strict'; | ||
/** | ||
* @param {SpriteProgram} program | ||
* @param {SpriteMaterial} material | ||
*/ | ||
function Sprite(program) { | ||
function Sprite(material) { | ||
_classCallCheck(this, Sprite); | ||
@@ -44,3 +44,3 @@ | ||
* Программа отрисовки спрайта | ||
* @type {SpriteProgram} | ||
* @type {SpriteMaterial} | ||
*/ | ||
@@ -50,3 +50,3 @@ | ||
_this.program = program; | ||
_this.material = material; | ||
@@ -65,3 +65,3 @@ /** | ||
// Если cпрайт невидим или у программы спрайта не установлена текстура, то не рендерим его | ||
if (!this.visible || !this.program.getTexture()) { | ||
if (!this.visible || !this.material.getTexture()) { | ||
return this; | ||
@@ -78,3 +78,3 @@ } | ||
this.program.enable(state); | ||
this.material.enable(state); | ||
@@ -84,3 +84,3 @@ // draw for indices | ||
this.program.disable(state.gl); | ||
this.material.disable(state.gl); | ||
@@ -104,3 +104,3 @@ return this; | ||
this.program.typifyForRender(typedObjects, this); | ||
this.material.typifyForRender(typedObjects, this); | ||
@@ -120,2 +120,2 @@ this.children.forEach(function (child) { | ||
module.exports = exports['default']; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9TcHJpdGUuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0lBVU07Ozs7Ozs7QUFJRixXQUpFLE1BSUYsQ0FBWSxPQUFaLEVBQXFCOzBCQUpuQixRQUltQjs7Ozs7Ozt1RUFKbkIsb0JBSW1COztBQU9qQixVQUFLLE9BQUwsR0FBZSxPQUFmOzs7Ozs7QUFQaUIsU0FhakIsQ0FBSyxNQUFMLEdBQWMsZUFBSyxNQUFMLEVBQWQsQ0FiaUI7O0dBQXJCOztlQUpFOzsyQkFvQkssT0FBTzs7QUFFVixVQUFJLENBQUMsS0FBSyxPQUFMLElBQWdCLENBQUMsS0FBSyxPQUFMLENBQWEsVUFBYixFQUFELEVBQTRCO0FBQUUsZUFBTyxJQUFQLENBQUY7T0FBakQ7O0FBRUEsVUFBSSxLQUFLLHNCQUFMLEVBQTZCO0FBQzdCLGFBQUssaUJBQUwsR0FENkI7T0FBakM7O0FBSUEsVUFBTSxLQUFLLE1BQU0sRUFBTixDQVJEOztBQVVWLFlBQU0sTUFBTixHQUFlLElBQWYsQ0FWVTs7QUFZVixXQUFLLE9BQUwsQ0FBYSxNQUFiLENBQW9CLEtBQXBCOzs7QUFaVSxRQWVWLENBQUcsWUFBSCxDQUFnQixHQUFHLFNBQUgsRUFBYyxDQUE5QixFQUFpQyxHQUFHLGNBQUgsRUFBbUIsQ0FBcEQsRUFmVTs7QUFpQlYsV0FBSyxPQUFMLENBQWEsT0FBYixDQUFxQixNQUFNLEVBQU4sQ0FBckIsQ0FqQlU7O0FBbUJWLGFBQU8sSUFBUCxDQW5CVTs7Ozs7Ozs7Ozs7O29DQTRCRSxjQUFjO0FBQzFCLFV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dfQ== |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4095
687422