docstring_tokens stringlengths 0 76.5k | code_tokens stringlengths 75 1.81M | label_window listlengths 4 2.12k | html_url stringlengths 74 116 | file_name stringlengths 3 311 |
|---|---|---|---|---|
} else { | <mask> else if (parsedAction.type === 2 && parsedAction.properties[i].name === "operator")
<mask> value = BABYLON.ValueCondition[value];
<mask> else
<mask> value = parseParameter(parsedAction.properties[i].name, value, target, propertyPath);
<mask> }
<mask> else {
<mask> propertyPath = value;
<mask> }
<mask> parameters.push(value);
<mask> }
<mask> parameters.push(condition);
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else if (parsedAction.properties[i].name != "propertyPath") {
</s> add } else if (parsedAction.properties[i].name != "propertyPath") { </s> remove }
else if (parsedCamera.type === "VRDeviceOrientationCamera") {
</s> add } else if (parsedCamera.type === "VRDeviceOrientationCamera") { </s> remove if (operator === void 0) { operator = ValueCondition.IsEqual; }
</s> add if (typeof operator === "undefined") { operator = ValueCondition.IsEqual; } </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
} else { | <mask> var newAction = instanciate(parsedAction.name, parameters);
<mask> if (newAction instanceof BABYLON.Condition) {
<mask> condition = newAction;
<mask> newAction = action;
<mask> }
<mask> else {
<mask> condition = null;
<mask> if (action)
<mask> action.then(newAction);
<mask> else
<mask> actionManager.registerAction(newAction);
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (condition === void 0) { condition = true; }
</s> add if (typeof condition === "undefined") { condition = true; }
</s> remove if (condition === void 0) { condition = true; }
</s> add if (typeof condition === "undefined") { condition = true; }
</s> remove if (condition === void 0) { condition = true; }
</s> add if (typeof condition === "undefined") { condition = true; }
</s> remove if (condition === void 0) { condition = true; }
</s> add if (typeof condition === "undefined") { condition = true; }
</s> remove }
else if (from instanceof BABYLON.Vector2) {
</s> add } else if (from instanceof BABYLON.Vector2) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
} else | <mask> var triggerParams;
<mask> var trigger = parsedActions.children[i];
<mask> if (trigger.properties.length > 0) {
<mask> triggerParams = { trigger: BABYLON.ActionManager[trigger.name], parameter: scene.getMeshByName(trigger.properties[0].value) };
<mask> }
<mask> else
<mask> triggerParams = BABYLON.ActionManager[trigger.name];
<mask> for (var j = 0; j < trigger.children.length; j++)
<mask> traverse(trigger.children[j], triggerParams, null, null, object.actionManager);
<mask> }
<mask> };
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (texture instanceof BABYLON.RenderTargetTexture) {
</s> add } else if (texture instanceof BABYLON.RenderTargetTexture) { </s> remove }
else {
</s> add } else {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
} else if (parsedGeometry instanceof ArrayBuffer) { | <mask> var geometry = scene.getGeometryByID(geometryId);
<mask> if (geometry) {
<mask> geometry.applyToMesh(mesh);
<mask> }
<mask> }
<mask> else if (parsedGeometry instanceof ArrayBuffer) {
<mask> var binaryInfo = mesh._binaryInfo;
<mask> if (binaryInfo.positionsAttrDesc && binaryInfo.positionsAttrDesc.count > 0) {
<mask> var positionsData = new Float32Array(parsedGeometry, binaryInfo.positionsAttrDesc.offset, binaryInfo.positionsAttrDesc.count);
<mask> mesh.setVerticesData(BABYLON.VertexBuffer.PositionKind, positionsData, false);
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else if (parsedGeometry.positions && parsedGeometry.normals && parsedGeometry.indices) {
</s> add } else if (parsedGeometry.positions && parsedGeometry.normals && parsedGeometry.indices) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else {
</s> remove }
else if (from instanceof BABYLON.Quaternion) {
</s> add } else if (from instanceof BABYLON.Quaternion) {
</s> remove }
else if (this.value instanceof BABYLON.Color3) {
</s> add } else if (this.value instanceof BABYLON.Color3) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
} else if (parsedGeometry.positions && parsedGeometry.normals && parsedGeometry.indices) { | <mask> var indexCount = subMeshesData[(i * 5) + 4];
<mask> var subMesh = new BABYLON.SubMesh(materialIndex, verticesStart, verticesCount, indexStart, indexCount, mesh);
<mask> }
<mask> }
<mask> }
<mask> else if (parsedGeometry.positions && parsedGeometry.normals && parsedGeometry.indices) {
<mask> mesh.setVerticesData(BABYLON.VertexBuffer.PositionKind, parsedGeometry.positions, false);
<mask> mesh.setVerticesData(BABYLON.VertexBuffer.NormalKind, parsedGeometry.normals, false);
<mask> if (parsedGeometry.uvs) {
<mask> mesh.setVerticesData(BABYLON.VertexBuffer.UVKind, parsedGeometry.uvs, false);
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else if (parsedGeometry instanceof ArrayBuffer) {
</s> add } else if (parsedGeometry instanceof ArrayBuffer) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove try {
</s> add
try {
</s> remove }
else {
</s> add } else {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
} else { | <mask> floatIndices.push((matricesIndex & 0x00FF0000) >> 16);
<mask> floatIndices.push(matricesIndex >> 24);
<mask> }
<mask> mesh.setVerticesData(BABYLON.VertexBuffer.MatricesIndicesKind, floatIndices, false);
<mask> }
<mask> else {
<mask> delete parsedGeometry.matricesIndices._isExpanded;
<mask> mesh.setVerticesData(BABYLON.VertexBuffer.MatricesIndicesKind, parsedGeometry.matricesIndices, false);
<mask> }
<mask> }
<mask> if (parsedGeometry.matricesWeights) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (parsedGeometry.positions && parsedGeometry.normals && parsedGeometry.indices) {
</s> add } else if (parsedGeometry.positions && parsedGeometry.normals && parsedGeometry.indices) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
})(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | <mask> // Finish
<mask> return true;
<mask> }
<mask> });
<mask> })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.babylonFileLoader.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.babylonFileLoader.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.dds.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add </s> remove //# sourceMappingURL=babylon.andOrNotEvaluator.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js |
<mask> }
<mask> });
<mask> })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.babylonFileLoader.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.dds.js.map </s> add </s> remove //# sourceMappingURL=babylon.andOrNotEvaluator.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/Plugins/babylon.babylonFileLoader.js | |
try { | <mask> var importMeshFromData = function (data) {
<mask> var meshes = [];
<mask> var particleSystems = [];
<mask> var skeletons = [];
<mask> try {
<mask> if (!plugin.importMesh(meshesNames, scene, data, rootUrl, meshes, particleSystems, skeletons)) {
<mask> if (onerror) {
<mask> onerror(scene, 'unable to load the scene');
<mask> }
<mask> return;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
catch (e) {
</s> add } catch (e) { </s> remove var Internals;
</s> add </s> remove if (atIndices === void 0) { atIndices = null; }
</s> add if (typeof atIndices === "undefined") { atIndices = null; }
</s> remove }
else if (material instanceof BABYLON.MultiMaterial) {
</s> add } else if (material instanceof BABYLON.MultiMaterial) { </s> remove }
else if (texture instanceof BABYLON.RenderTargetTexture) {
</s> add } else if (texture instanceof BABYLON.RenderTargetTexture) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/babylon.sceneLoader.js |
} catch (e) { | <mask> onerror(scene, 'unable to load the scene');
<mask> }
<mask> return;
<mask> }
<mask> }
<mask> catch (e) {
<mask> if (onerror) {
<mask> onerror(scene, e);
<mask> }
<mask> return;
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove try {
</s> add try { </s> remove }
catch (e) {
</s> add } catch (e) {
</s> remove }
else {
</s> add } else { </s> remove }
catch (e) {
</s> add } catch (e) {
// Silently fails...
</s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/babylon.sceneLoader.js |
} else { | <mask> }
<mask> if (rootUrl.indexOf("file:") === -1) {
<mask> // Checking if a manifest file has been set for this scene and if offline mode has been requested
<mask> database = new BABYLON.Database(rootUrl + sceneFilename, manifestChecked);
<mask> }
<mask> else {
<mask> BABYLON.Tools.ReadFile(sceneFilename, loadSceneFromData, progressCallBack);
<mask> }
<mask> };
<mask> // Flags
<mask> SceneLoader._ForceFullSceneLoadingForIncremental = false;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Flags
</s> add </s> remove // 1 for text (.babylon, manifest and shaders), 2 for TGA, 4 for DDS, 7 for all
if (dataType === void 0) { dataType = 7; }
try {
</s> add if (typeof dataType === "undefined") { dataType = 7; }
try {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/babylon.sceneLoader.js |
<mask> else {
<mask> BABYLON.Tools.ReadFile(sceneFilename, loadSceneFromData, progressCallBack);
<mask> }
<mask> };
<mask> // Flags
<mask> SceneLoader._ForceFullSceneLoadingForIncremental = false;
<mask> SceneLoader._ShowLoadingScreen = true;
<mask> // Members
<mask> SceneLoader._registeredPlugins = new Array();
<mask> return SceneLoader;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Members
</s> add </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
catch (e) {
</s> add } catch (e) { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/babylon.sceneLoader.js | |
<mask> };
<mask> // Flags
<mask> SceneLoader._ForceFullSceneLoadingForIncremental = false;
<mask> SceneLoader._ShowLoadingScreen = true;
<mask> // Members
<mask> SceneLoader._registeredPlugins = new Array();
<mask> return SceneLoader;
<mask> })();
<mask> BABYLON.SceneLoader = SceneLoader;
<mask> ;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Flags
</s> add </s> remove //# sourceMappingURL=babylon.sceneLoader.js.map </s> add </s> remove }
else {
</s> add } else { </s> remove this._pendingData = []; //ANY
</s> add this._pendingData = [];
</s> remove this.cameraToUseForPointers = null; // Define this parameter if you are using multiple cameras and you want to specify which one should be used for pointer position
</s> add this.cameraToUseForPointers = null;
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/babylon.sceneLoader.js | |
<mask> })();
<mask> BABYLON.SceneLoader = SceneLoader;
<mask> ;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.sceneLoader.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Members
</s> add </s> remove //# sourceMappingURL=babylon.andOrNotEvaluator.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.dds.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoystick.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Loading/babylon.sceneLoader.js | |
try { | <mask> var _this = this;
<mask> var that = this;
<mask> function noConfigFile() {
<mask> BABYLON.Tools.Log("No config file found in " + jsonUrl + " trying to use ShaderStore or DOM element");
<mask> try {
<mask> that.setFragment(that._texturePath);
<mask> }
<mask> catch (ex) {
<mask> BABYLON.Tools.Error("No json or ShaderStore or DOM element found for CustomProceduralTexture");
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
catch (ex) {
</s> add } catch (ex) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
} catch (ex) { | <mask> function noConfigFile() {
<mask> BABYLON.Tools.Log("No config file found in " + jsonUrl + " trying to use ShaderStore or DOM element");
<mask> try {
<mask> that.setFragment(that._texturePath);
<mask> }
<mask> catch (ex) {
<mask> BABYLON.Tools.Error("No json or ShaderStore or DOM element found for CustomProceduralTexture");
<mask> }
<mask> }
<mask> var configFileUrl = jsonUrl + "/config.json";
<mask> var xhr = new XMLHttpRequest();
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
try { | <mask> var xhr = new XMLHttpRequest();
<mask> xhr.open("GET", configFileUrl, true);
<mask> xhr.addEventListener("load", function () {
<mask> if (xhr.status === 200 || BABYLON.Tools.ValidateXHRData(xhr, 1)) {
<mask> try {
<mask> _this._config = JSON.parse(xhr.response);
<mask> _this.updateShaderUniforms();
<mask> _this.updateTextures();
<mask> _this.setFragment(_this._texturePath + "/custom");
<mask> _this._animate = _this._config.animate;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove try {
</s> add try { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
} catch (ex) { | <mask> _this.updateTextures();
<mask> _this.setFragment(_this._texturePath + "/custom");
<mask> _this._animate = _this._config.animate;
<mask> _this.refreshRate = _this._config.refreshrate;
<mask> }
<mask> catch (ex) {
<mask> noConfigFile();
<mask> }
<mask> }
<mask> else {
<mask> noConfigFile();
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
} else { | <mask> }
<mask> catch (ex) {
<mask> noConfigFile();
<mask> }
<mask> }
<mask> else {
<mask> noConfigFile();
<mask> }
<mask> }, false);
<mask> xhr.addEventListener("error", function (event) {
<mask> noConfigFile();
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { </s> remove try {
</s> add try { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
try { | <mask> }, false);
<mask> xhr.addEventListener("error", function (event) {
<mask> noConfigFile();
<mask> }, false);
<mask> try {
<mask> xhr.send();
<mask> }
<mask> catch (ex) {
<mask> BABYLON.Tools.Error("CustomProceduralTexture: Error on XHR send request.");
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
} catch (ex) { | <mask> noConfigFile();
<mask> }, false);
<mask> try {
<mask> xhr.send();
<mask> }
<mask> catch (ex) {
<mask> BABYLON.Tools.Error("CustomProceduralTexture: Error on XHR send request.");
<mask> }
<mask> };
<mask> CustomProceduralTexture.prototype.isReady = function () {
<mask> if (!_super.prototype.isReady.call(this)) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove try {
</s> add try { </s> remove try {
</s> add try { </s> remove }
catch (ex) {
</s> add } catch (ex) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js |
<mask> return CustomProceduralTexture;
<mask> })(BABYLON.ProceduralTexture);
<mask> BABYLON.CustomProceduralTexture = CustomProceduralTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.customProceduralTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.standardProceduralTexture.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.customProceduralTexture.js | |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; } | <mask> (function (BABYLON) {
<mask> var ProceduralTexture = (function (_super) {
<mask> __extends(ProceduralTexture, _super);
<mask> function ProceduralTexture(name, size, fragment, scene, fallbackTexture, generateMipMaps) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> _super.call(this, null, scene, !generateMipMaps);
<mask> this._currentRefreshId = -1;
<mask> this._refreshRate = 1;
<mask> this._vertexDeclaration = [2];
<mask> this._vertexStrideSize = 2 * 4;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (doNotChangeAspectRatio === void 0) { doNotChangeAspectRatio = true; }
</s> add if (typeof doNotChangeAspectRatio === "undefined") { doNotChangeAspectRatio = true; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.proceduralTexture.js |
} else { | <mask> return true;
<mask> }
<mask> if (this._fragment.fragmentElement !== undefined) {
<mask> shaders = { vertex: "procedural", fragmentElement: this._fragment.fragmentElement };
<mask> }
<mask> else {
<mask> shaders = { vertex: "procedural", fragment: this._fragment };
<mask> }
<mask> this._effect = engine.createEffect(shaders, ["position"], this._uniforms, this._samplers, "", null, null, function () {
<mask> _this.releaseInternalTexture();
<mask> if (_this._fallbackTexture) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else if (typeof webkitAudioContext !== 'undefined') {
</s> add } else if (typeof webkitAudioContext !== 'undefined') { </s> remove }
else {
</s> add } else { </s> remove }
else
</s> add } else </s> remove try {
</s> add try { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.proceduralTexture.js |
<mask> return ProceduralTexture;
<mask> })(BABYLON.Texture);
<mask> BABYLON.ProceduralTexture = ProceduralTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.proceduralTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.dynamicTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.videoTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.rawTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.proceduralTexture.js | |
//# sourceMappingURL=babylon.proceduralTexture.js.map | <mask> })(BABYLON.Texture);
<mask> BABYLON.ProceduralTexture = ProceduralTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.proceduralTexture.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.videoTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.proceduralTexture.js |
<mask> return MarbleProceduralTexture;
<mask> })(BABYLON.ProceduralTexture);
<mask> BABYLON.MarbleProceduralTexture = MarbleProceduralTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.standardProceduralTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.customProceduralTexture.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/Procedurals/babylon.standardProceduralTexture.js | |
<mask> return BaseTexture;
<mask> })();
<mask> BABYLON.BaseTexture = BaseTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.baseTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add </s> remove //# sourceMappingURL=babylon.octreeBlock.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.baseTexture.js | |
} else { | <mask> this._extensions = extensions;
<mask> if (!this._texture) {
<mask> if (!scene.useDelayedTextureLoading) {
<mask> this._texture = scene.getEngine().createCubeTexture(rootUrl, scene, extensions, noMipmap);
<mask> }
<mask> else {
<mask> this.delayLoadState = BABYLON.Engine.DELAYLOADSTATE_NOTLOADED;
<mask> }
<mask> }
<mask> this.isCube = true;
<mask> this._textureMatrix = BABYLON.Matrix.Identity();
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.cubeTexture.js |
<mask> return CubeTexture;
<mask> })(BABYLON.BaseTexture);
<mask> BABYLON.CubeTexture = CubeTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.cubeTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.texture.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.cubeTexture.js | |
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> (function (BABYLON) {
<mask> var DynamicTexture = (function (_super) {
<mask> __extends(DynamicTexture, _super);
<mask> function DynamicTexture(name, options, scene, generateMipMaps, samplingMode) {
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> _super.call(this, null, scene, !generateMipMaps);
<mask> this.name = name;
<mask> this.wrapU = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> this.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> this._generateMipMaps = generateMipMaps;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (doNotChangeAspectRatio === void 0) { doNotChangeAspectRatio = true; }
</s> add if (typeof doNotChangeAspectRatio === "undefined") { doNotChangeAspectRatio = true; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.dynamicTexture.js |
} else { | <mask> this._generateMipMaps = generateMipMaps;
<mask> if (options.getContext) {
<mask> this._canvas = options;
<mask> this._texture = scene.getEngine().createDynamicTexture(options.width, options.height, generateMipMaps, samplingMode);
<mask> }
<mask> else {
<mask> this._canvas = document.createElement("canvas");
<mask> if (options.width) {
<mask> this._texture = scene.getEngine().createDynamicTexture(options.width, options.height, generateMipMaps, samplingMode);
<mask> }
<mask> else {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove }
else {
</s> add } else { </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.dynamicTexture.js |
} else { | <mask> else {
<mask> this._canvas = document.createElement("canvas");
<mask> if (options.width) {
<mask> this._texture = scene.getEngine().createDynamicTexture(options.width, options.height, generateMipMaps, samplingMode);
<mask> }
<mask> else {
<mask> this._texture = scene.getEngine().createDynamicTexture(options, options, generateMipMaps, samplingMode);
<mask> }
<mask> }
<mask> var textureSize = this.getSize();
<mask> this._canvas.width = textureSize.width;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove }
else {
</s> add } else { </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.dynamicTexture.js |
if (typeof update === "undefined") { update = true; } | <mask> DynamicTexture.prototype.update = function (invertY) {
<mask> this.getScene().getEngine().updateDynamicTexture(this._texture, this._canvas, invertY === undefined ? true : invertY);
<mask> };
<mask> DynamicTexture.prototype.drawText = function (text, x, y, font, color, clearColor, invertY, update) {
<mask> if (update === void 0) { update = true; }
<mask> var size = this.getSize();
<mask> if (clearColor) {
<mask> this._context.fillStyle = clearColor;
<mask> this._context.fillRect(0, 0, size.width, size.height);
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.dynamicTexture.js |
<mask> return DynamicTexture;
<mask> })(BABYLON.Texture);
<mask> BABYLON.DynamicTexture = DynamicTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.dynamicTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.videoTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.rawTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.dynamicTexture.js | |
<mask> return MirrorTexture;
<mask> })(BABYLON.RenderTargetTexture);
<mask> BABYLON.MirrorTexture = MirrorTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.mirrorTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(VirtualJoystick = BABYLON.VirtualJoystick || (BABYLON.VirtualJoystick = {}));
</s> add })(BABYLON.VirtualJoystick || (BABYLON.VirtualJoystick = {}));
var VirtualJoystick = BABYLON.VirtualJoystick; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.mirrorTexture.js | |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> (function (BABYLON) {
<mask> var RawTexture = (function (_super) {
<mask> __extends(RawTexture, _super);
<mask> function RawTexture(data, width, height, format, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> _super.call(this, null, scene, !generateMipMaps, invertY);
<mask> this._texture = scene.getEngine().createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode);
<mask> this.wrapU = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> this.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> this.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> }
<mask> // Statics
<mask> RawTexture.CreateLuminanceTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_LUMINANCE, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateLuminanceAlphaTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_LUMINANCE, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateLuminanceAlphaTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_LUMINANCE_ALPHA, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateAlphaTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_LUMINANCE_ALPHA, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateAlphaTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_ALPHA, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateRGBTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_ALPHA, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateRGBTexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_RGB, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateRGBATexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_RGB, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> RawTexture.CreateRGBATexture = function (data, width, height, scene, generateMipMaps, invertY, samplingMode) {
<mask> if (generateMipMaps === void 0) { generateMipMaps = true; }
<mask> if (invertY === void 0) { invertY = false; }
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> return new RawTexture(data, width, height, BABYLON.Engine.TEXTUREFORMAT_RGBA, scene, generateMipMaps, invertY, samplingMode);
<mask> };
<mask> return RawTexture;
<mask> })(BABYLON.Texture);
<mask> BABYLON.RawTexture = RawTexture;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
<mask> return RawTexture;
<mask> })(BABYLON.Texture);
<mask> BABYLON.RawTexture = RawTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.rawTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.dynamicTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.videoTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js | |
//# sourceMappingURL=babylon.rawTexture.js.map | <mask> })(BABYLON.Texture);
<mask> BABYLON.RawTexture = RawTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.rawTexture.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.rawTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.dynamicTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.rawTexture.js |
if (typeof doNotChangeAspectRatio === "undefined") { doNotChangeAspectRatio = true; } | <mask> (function (BABYLON) {
<mask> var RenderTargetTexture = (function (_super) {
<mask> __extends(RenderTargetTexture, _super);
<mask> function RenderTargetTexture(name, size, scene, generateMipMaps, doNotChangeAspectRatio) {
<mask> if (doNotChangeAspectRatio === void 0) { doNotChangeAspectRatio = true; }
<mask> _super.call(this, null, scene, !generateMipMaps);
<mask> this.renderList = new Array();
<mask> this.renderParticles = true;
<mask> this.renderSprites = false;
<mask> this.coordinatesMode = BABYLON.Texture.PROJECTION_MODE;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.renderTargetTexture.js |
<mask> return RenderTargetTexture;
<mask> })(BABYLON.Texture);
<mask> BABYLON.RenderTargetTexture = RenderTargetTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.dynamicTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.videoTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.rawTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.renderTargetTexture.js | |
if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; }
if (typeof buffer === "undefined") { buffer = null; }
if (typeof deleteBuffer === "undefined") { deleteBuffer = false; } | <mask> (function (BABYLON) {
<mask> var Texture = (function (_super) {
<mask> __extends(Texture, _super);
<mask> function Texture(url, scene, noMipmap, invertY, samplingMode, onLoad, onError, buffer, deleteBuffer) {
<mask> if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
<mask> if (onLoad === void 0) { onLoad = null; }
<mask> if (onError === void 0) { onError = null; }
<mask> if (buffer === void 0) { buffer = null; }
<mask> if (deleteBuffer === void 0) { deleteBuffer = false; }
<mask> _super.call(this, scene);
<mask> this.uOffset = 0;
<mask> this.vOffset = 0;
<mask> this.uScale = 1.0;
<mask> this.vScale = 1.0;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (onLoad === void 0) { onLoad = null; }
if (onError === void 0) { onError = null; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; } </s> remove // Constants
</s> add </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (fromFrame === void 0) { fromFrame = 0; }
if (toFrame === void 0) { toFrame = 100; }
if (loopAnimation === void 0) { loopAnimation = false; }
if (speedRatio === void 0) { speedRatio = 1.0; }
</s> add if (typeof fromFrame === "undefined") { fromFrame = 0; }
if (typeof toFrame === "undefined") { toFrame = 100; }
if (typeof loopAnimation === "undefined") { loopAnimation = false; }
if (typeof speedRatio === "undefined") { speedRatio = 1.0; }
</s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.texture.js |
} else { | <mask> this._texture = scene.getEngine().createTexture(url, noMipmap, invertY, scene, this._samplingMode, onLoad, onError, this._buffer);
<mask> if (deleteBuffer) {
<mask> delete this._buffer;
<mask> }
<mask> }
<mask> else {
<mask> this.delayLoadState = BABYLON.Engine.DELAYLOADSTATE_NOTLOADED;
<mask> }
<mask> }
<mask> }
<mask> Texture.prototype.delayLoad = function () {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (onLoad === void 0) { onLoad = null; }
if (onError === void 0) { onError = null; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; } </s> remove // Constants
</s> add </s> remove if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (onLoad === void 0) { onLoad = null; }
if (onError === void 0) { onError = null; }
if (buffer === void 0) { buffer = null; }
if (deleteBuffer === void 0) { deleteBuffer = false; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; }
if (typeof buffer === "undefined") { buffer = null; }
if (typeof deleteBuffer === "undefined") { deleteBuffer = false; } </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.texture.js |
if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; } | <mask> return newTexture;
<mask> };
<mask> // Statics
<mask> Texture.CreateFromBase64String = function (data, name, scene, noMipmap, invertY, samplingMode, onLoad, onError) {
<mask> if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
<mask> if (onLoad === void 0) { onLoad = null; }
<mask> if (onError === void 0) { onError = null; }
<mask> return new Texture("data:" + name, scene, noMipmap, invertY, samplingMode, onLoad, onError, data);
<mask> };
<mask> // Constants
<mask> Texture.NEAREST_SAMPLINGMODE = 1;
<mask> Texture.BILINEAR_SAMPLINGMODE = 2;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Constants
</s> add </s> remove if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (onLoad === void 0) { onLoad = null; }
if (onError === void 0) { onError = null; }
if (buffer === void 0) { buffer = null; }
if (deleteBuffer === void 0) { deleteBuffer = false; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; }
if (typeof buffer === "undefined") { buffer = null; }
if (typeof deleteBuffer === "undefined") { deleteBuffer = false; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.texture.js |
<mask> if (onLoad === void 0) { onLoad = null; }
<mask> if (onError === void 0) { onError = null; }
<mask> return new Texture("data:" + name, scene, noMipmap, invertY, samplingMode, onLoad, onError, data);
<mask> };
<mask> // Constants
<mask> Texture.NEAREST_SAMPLINGMODE = 1;
<mask> Texture.BILINEAR_SAMPLINGMODE = 2;
<mask> Texture.TRILINEAR_SAMPLINGMODE = 3;
<mask> Texture.EXPLICIT_MODE = 0;
<mask> Texture.SPHERICAL_MODE = 1;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (onLoad === void 0) { onLoad = null; }
if (onError === void 0) { onError = null; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; } </s> remove if (samplingMode === void 0) { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (onLoad === void 0) { onLoad = null; }
if (onError === void 0) { onError = null; }
if (buffer === void 0) { buffer = null; }
if (deleteBuffer === void 0) { deleteBuffer = false; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = Texture.TRILINEAR_SAMPLINGMODE; }
if (typeof onLoad === "undefined") { onLoad = null; }
if (typeof onError === "undefined") { onError = null; }
if (typeof buffer === "undefined") { buffer = null; }
if (typeof deleteBuffer === "undefined") { deleteBuffer = false; } </s> remove if (x1 === void 0) { x1 = 0; }
if (y1 === void 0) { y1 = 0; }
if (x2 === void 0) { x2 = 1; }
if (y2 === void 0) { y2 = 1; }
</s> add if (typeof x1 === "undefined") { x1 = 0; }
if (typeof y1 === "undefined") { y1 = 0; }
if (typeof x2 === "undefined") { x2 = 1; }
if (typeof y2 === "undefined") { y2 = 1; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.texture.js | |
<mask> return Texture;
<mask> })(BABYLON.BaseTexture);
<mask> BABYLON.Texture = Texture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.texture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.cubeTexture.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.texture.js | |
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | <mask> var VideoTexture = (function (_super) {
<mask> __extends(VideoTexture, _super);
<mask> function VideoTexture(name, urls, size, scene, generateMipMaps, invertY, samplingMode) {
<mask> var _this = this;
<mask> _super.call(this, null, scene, !generateMipMaps, invertY);
<mask> this._autoLaunch = true;
<mask>
<mask> this.name = name;
<mask>
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (doNotChangeAspectRatio === void 0) { doNotChangeAspectRatio = true; }
</s> add if (typeof doNotChangeAspectRatio === "undefined") { doNotChangeAspectRatio = true; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; } | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.videoTexture.js |
<mask> var VideoTexture = (function (_super) {
<mask> __extends(VideoTexture, _super);
<mask> function VideoTexture(name, urls, size, scene, generateMipMaps, invertY, samplingMode) {
<mask> var _this = this;
<mask> if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
<mask> _super.call(this, null, scene, !generateMipMaps, invertY);
<mask> this._autoLaunch = true;
<mask> this.name = name;
<mask> this.wrapU = BABYLON.Texture.WRAP_ADDRESSMODE;
<mask> this.wrapV = BABYLON.Texture.WRAP_ADDRESSMODE;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.videoTexture.js | |
<mask> return VideoTexture;
<mask> })(BABYLON.Texture);
<mask> BABYLON.VideoTexture = VideoTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.videoTexture.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.dynamicTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.rawTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.videoTexture.js | |
//# sourceMappingURL=babylon.videoTexture.js.map | <mask> })(BABYLON.Texture);
<mask> BABYLON.VideoTexture = VideoTexture;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.videoTexture.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.videoTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.renderTargetTexture.js.map </s> add </s> remove //# sourceMappingURL=babylon.proceduralTexture.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/Textures/babylon.videoTexture.js |
} else {
| <mask> vertexSource = document.getElementById(baseName.vertexElement);
<mask> if (!vertexSource) {
<mask> vertexSource = baseName.vertexElement;
<mask> }
<mask> }
<mask> else {
<mask> vertexSource = baseName.vertex || baseName;
<mask> }
<mask> if (baseName.fragmentElement) {
<mask> fragmentSource = document.getElementById(baseName.fragmentElement);
<mask> if (!fragmentSource) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (samplingMode === BABYLON.Texture.TRILINEAR_SAMPLINGMODE) {
</s> add } else if (samplingMode === BABYLON.Texture.TRILINEAR_SAMPLINGMODE) {
</s> remove }
else {
</s> add } else {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
} else {
| <mask> fragmentSource = document.getElementById(baseName.fragmentElement);
<mask> if (!fragmentSource) {
<mask> fragmentSource = baseName.fragmentElement;
<mask> }
<mask> }
<mask> else {
<mask> fragmentSource = baseName.fragment || baseName;
<mask> }
<mask> this._loadVertexShader(vertexSource, function (vertexCode) {
<mask> _this._loadFragmentShader(fragmentSource, function (fragmentCode) {
<mask> _this._prepareEffect(vertexCode, fragmentCode, attributesNames, defines, fallbacks);
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
catch (e) {
</s> add } catch (e) {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
} else {
| <mask> }
<mask> var vertexShaderUrl;
<mask> if (vertex[0] === ".") {
<mask> vertexShaderUrl = vertex;
<mask> }
<mask> else {
<mask> vertexShaderUrl = BABYLON.Engine.ShadersRepository + vertex;
<mask> }
<mask> // Vertex shader
<mask> BABYLON.Tools.LoadFile(vertexShaderUrl + ".vertex.fx", callback);
<mask> };
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (this._positionY > globalViewport.y + globalViewport.height - this.borderLimit) {
</s> add } else if (this._positionY > globalViewport.y + globalViewport.height - this.borderLimit) { </s> remove }
else if (this._positionX > globalViewport.x + globalViewport.width - this.borderLimit) {
</s> add } else if (this._positionX > globalViewport.x + globalViewport.width - this.borderLimit) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
} else {
| <mask> }
<mask> var fragmentShaderUrl;
<mask> if (fragment[0] === ".") {
<mask> fragmentShaderUrl = fragment;
<mask> }
<mask> else {
<mask> fragmentShaderUrl = BABYLON.Engine.ShadersRepository + fragment;
<mask> }
<mask> // Fragment shader
<mask> BABYLON.Tools.LoadFile(fragmentShaderUrl + ".fragment.fx", callback);
<mask> };
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove try {
</s> add try {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (this._positionY > globalViewport.y + globalViewport.height - this.borderLimit) {
</s> add } else if (this._positionY > globalViewport.y + globalViewport.height - this.borderLimit) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
try {
| <mask> // Fragment shader
<mask> BABYLON.Tools.LoadFile(fragmentShaderUrl + ".fragment.fx", callback);
<mask> };
<mask> Effect.prototype._prepareEffect = function (vertexSourceCode, fragmentSourceCode, attributesNames, defines, fallbacks) {
<mask> try {
<mask> var engine = this._engine;
<mask> this._program = engine.createShaderProgram(vertexSourceCode, fragmentSourceCode, defines);
<mask> this._uniforms = engine.getUniforms(this._program, this._uniformsNames);
<mask> this._attributes = engine.getAttributes(this._program, attributesNames);
<mask> for (var index = 0; index < this._samplers.length; index++) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove try {
</s> add
try {
</s> remove }
else if (texture instanceof BABYLON.RenderTargetTexture) {
</s> add } else if (texture instanceof BABYLON.RenderTargetTexture) { </s> remove try {
</s> add
try {
</s> remove }
catch (e) {
</s> add } catch (e) {
// Silently fails...
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
} catch (e) {
| <mask> this._isReady = true;
<mask> if (this.onCompiled) {
<mask> this.onCompiled(this);
<mask> }
<mask> }
<mask> catch (e) {
<mask> // Is it a problem with precision?
<mask> if (e.message.indexOf("highp") !== -1) {
<mask> vertexSourceCode = vertexSourceCode.replace("precision highp float", "precision mediump float");
<mask> fragmentSourceCode = fragmentSourceCode.replace("precision highp float", "precision mediump float");
<mask> this._prepareEffect(vertexSourceCode, fragmentSourceCode, attributesNames, defines, fallbacks);
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
catch (e) {
</s> add } catch (e) { </s> remove }
else {
</s> add } else {
</s> remove }
else if (typeof webkitAudioContext !== 'undefined') {
</s> add } else if (typeof webkitAudioContext !== 'undefined') { </s> remove }
else if (this.keysUp.indexOf(keyCode) !== -1) {
</s> add } else if (this.keysUp.indexOf(keyCode) !== -1) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
} else {
| <mask> // Let's go through fallbacks then
<mask> if (fallbacks && fallbacks.isMoreFallbacks) {
<mask> defines = fallbacks.reduce(defines);
<mask> this._prepareEffect(vertexSourceCode, fragmentSourceCode, attributesNames, defines, fallbacks);
<mask> }
<mask> else {
<mask> BABYLON.Tools.Error("Unable to compile effect: " + this.name);
<mask> BABYLON.Tools.Error("Defines: " + defines);
<mask> BABYLON.Tools.Error("Error: " + e.message);
<mask> this._compilationError = e.message;
<mask> if (this.onError) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
catch (ex) {
</s> add } catch (ex) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js |
<mask> this._cacheFloat4(uniformName, color3.r, color3.g, color3.b, alpha);
<mask> this._engine.setColor4(this.getUniform(uniformName), color3, alpha);
<mask> return this;
<mask> };
<mask> // Statics
<mask> Effect.ShadersStore = {};
<mask> return Effect;
<mask> })();
<mask> BABYLON.Effect = Effect;
<mask> })(BABYLON || (BABYLON = {}));
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.effect.js.map </s> add </s> remove // Statics
</s> add </s> remove })(VirtualJoystick = BABYLON.VirtualJoystick || (BABYLON.VirtualJoystick = {}));
</s> add })(BABYLON.VirtualJoystick || (BABYLON.VirtualJoystick = {}));
var VirtualJoystick = BABYLON.VirtualJoystick; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js | |
<mask> return Effect;
<mask> })();
<mask> BABYLON.Effect = Effect;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.effect.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Statics
</s> add
</s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.effect.js | |
<mask> return Material;
<mask> })();
<mask> BABYLON.Material = Material;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.material.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.material.js | |
//# sourceMappingURL=babylon.material.js.map
| <mask> })();
<mask> BABYLON.Material = Material;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.material.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.material.js.map </s> add </s> remove //# sourceMappingURL=babylon.andOrNotEvaluator.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.dds.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoystick.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.material.js |
<mask> return MultiMaterial;
<mask> })(BABYLON.Material);
<mask> BABYLON.MultiMaterial = MultiMaterial;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.multiMaterial.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.shaderMaterial.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.multiMaterial.js | |
//# sourceMappingURL=babylon.multiMaterial.js.map
| <mask> })(BABYLON.Material);
<mask> BABYLON.MultiMaterial = MultiMaterial;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.multiMaterial.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.multiMaterial.js.map </s> add </s> remove //# sourceMappingURL=babylon.shaderMaterial.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.multiMaterial.js |
<mask> return ShaderMaterial;
<mask> })(BABYLON.Material);
<mask> BABYLON.ShaderMaterial = ShaderMaterial;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.shaderMaterial.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.multiMaterial.js.map </s> add </s> remove })(Internals = BABYLON.Internals || (BABYLON.Internals = {}));
</s> add })(BABYLON.Internals || (BABYLON.Internals = {}));
var Internals = BABYLON.Internals; | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.shaderMaterial.js | |
// Methods
| <mask> };
<mask> StandardMaterial.prototype.getAlphaTestTexture = function () {
<mask> return this.diffuseTexture;
<mask> };
<mask> // Methods
<mask> StandardMaterial.prototype.isReady = function (mesh, useInstances) {
<mask> if (this.checkReadyOnlyOnce) {
<mask> if (this._wasPreviouslyReady) {
<mask> return true;
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Methods
</s> add
// Methods
</s> remove }
else {
</s> add } else { </s> remove if (priority === void 0) { priority = 0; }
</s> add if (typeof priority === "undefined") { priority = 0; } </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.standardMaterial.js |
} else {
| <mask> if (scene.texturesEnabled) {
<mask> if (this.diffuseTexture && StandardMaterial.DiffuseTextureEnabled) {
<mask> if (!this.diffuseTexture.isReady()) {
<mask> return false;
<mask> }
<mask> else {
<mask> defines.push("#define DIFFUSE");
<mask> }
<mask> }
<mask> if (this.ambientTexture && StandardMaterial.AmbientTextureEnabled) {
<mask> if (!this.ambientTexture.isReady()) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else if (size.width && !size.height) {
</s> add } else if (size.width && !size.height) {
</s> remove }
else if (dataType === 1) {
</s> add } else if (dataType === 1) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.standardMaterial.js |
} else {
| <mask> }
<mask> if (this.ambientTexture && StandardMaterial.AmbientTextureEnabled) {
<mask> if (!this.ambientTexture.isReady()) {
<mask> return false;
<mask> }
<mask> else {
<mask> defines.push("#define AMBIENT");
<mask> }
<mask> }
<mask> if (this.opacityTexture && StandardMaterial.OpacityTextureEnabled) {
<mask> if (!this.opacityTexture.isReady()) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else if (size.width && !size.height) {
</s> add } else if (size.width && !size.height) {
</s> remove }
else if (dataType === 1) {
</s> add } else if (dataType === 1) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.standardMaterial.js |
} else {
| <mask> }
<mask> if (this.opacityTexture && StandardMaterial.OpacityTextureEnabled) {
<mask> if (!this.opacityTexture.isReady()) {
<mask> return false;
<mask> }
<mask> else {
<mask> defines.push("#define OPACITY");
<mask> if (this.opacityTexture.getAlphaFromRGB) {
<mask> defines.push("#define OPACITYRGB");
<mask> }
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { </s> remove }
else if (dataType === 1) {
</s> add } else if (dataType === 1) {
</s> remove }
else {
</s> add } else {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Materials/babylon.standardMaterial.js |
} else { | <mask> var displacementVector = axis.scale(distance);
<mask> if (!space || space == 0 /* LOCAL */) {
<mask> var tempV3 = this.getPositionExpressedInLocalSpace().add(displacementVector);
<mask> this.setPositionWithLocalVector(tempV3);
<mask> }
<mask> else {
<mask> this.setAbsolutePosition(this.getAbsolutePosition().add(displacementVector));
<mask> }
<mask> };
<mask> AbstractMesh.prototype.getAbsolutePosition = function () {
<mask> this.computeWorldMatrix();
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Mesh/babylon.abstractMesh.js |
} else { | <mask> if (!this._vertexBuffers && this._delayInfo) {
<mask> for (var kind in this._delayInfo) {
<mask> result.push(kind);
<mask> }
<mask> }
<mask> else {
<mask> for (kind in this._vertexBuffers) {
<mask> result.push(kind);
<mask> }
<mask> }
<mask> return result;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Mesh/babylon.geometry.js |
if (typeof cx === "undefined") { cx = 0; }
if (typeof cy === "undefined") { cy = 0; }
if (typeof numberOfSides === "undefined") { numberOfSides = 32; } | <mask> new BABYLON.Vector2(xmin, ymax)
<mask> ];
<mask> };
<mask> Polygon.Circle = function (radius, cx, cy, numberOfSides) {
<mask> if (cx === void 0) { cx = 0; }
<mask> if (cy === void 0) { cy = 0; }
<mask> if (numberOfSides === void 0) { numberOfSides = 32; }
<mask> var result = new Array();
<mask> var angle = 0;
<mask> var increment = (Math.PI * 2) / numberOfSides;
<mask> for (var i = 0; i < numberOfSides; i++) {
<mask> result.push(new BABYLON.Vector2(cx + Math.cos(angle) * radius, cy + Math.sin(angle) * radius));
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (atIndices === void 0) { atIndices = null; }
</s> add if (typeof atIndices === "undefined") { atIndices = null; }
</s> remove }
else {
</s> add } else {
</s> remove if (x1 === void 0) { x1 = 0; }
if (y1 === void 0) { y1 = 0; }
if (x2 === void 0) { x2 = 1; }
if (y2 === void 0) { y2 = 1; }
</s> add if (typeof x1 === "undefined") { x1 = 0; }
if (typeof y1 === "undefined") { y1 = 0; }
if (typeof x2 === "undefined") { x2 = 1; }
if (typeof y2 === "undefined") { y2 = 1; } </s> remove }
else {
</s> add } else { </s> remove if (offset === void 0) { offset = 0; }
</s> add if (typeof offset === "undefined") { offset = 0; }
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Mesh/babylon.polygonmesh.js |
if (typeof iterations === "undefined") { iterations = 10; } | <mask> }
<mask> };
<mask> }
<mask> CannonJSPlugin.prototype.initialize = function (iterations) {
<mask> if (iterations === void 0) { iterations = 10; }
<mask> this._world = new CANNON.World();
<mask> this._world.broadphase = new CANNON.NaiveBroadphase();
<mask> this._world.solver.iterations = iterations;
<mask> };
<mask> CannonJSPlugin.prototype._checkWithEpsilon = function (value) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
if (invertY === void 0) { invertY = false; }
if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
if (typeof invertY === "undefined") { invertY = false; }
if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove if (maxCapacity === void 0) { maxCapacity = 64; }
if (maxDepth === void 0) { maxDepth = 2; }
</s> add if (typeof maxCapacity === "undefined") { maxCapacity = 64; }
if (typeof maxDepth === "undefined") { maxDepth = 2; }
</s> remove if (targetFrameRate === void 0) { targetFrameRate = 60; }
if (trackerDuration === void 0) { trackerDuration = 2000; }
</s> add if (typeof targetFrameRate === "undefined") { targetFrameRate = 60; }
if (typeof trackerDuration === "undefined") { trackerDuration = 2000; } | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Physics/Plugins/babylon.cannonJSPlugin.js |
} else { | <mask> if (deltaPos) {
<mask> registeredMesh.mesh.position.x = bodyX + deltaPos.x;
<mask> registeredMesh.mesh.position.y = bodyZ + deltaPos.y;
<mask> registeredMesh.mesh.position.z = bodyY + deltaPos.z;
<mask> }
<mask> else {
<mask> registeredMesh.mesh.position.x = bodyX;
<mask> registeredMesh.mesh.position.y = bodyZ;
<mask> registeredMesh.mesh.position.z = bodyY;
<mask> }
<mask> if (!registeredMesh.mesh.rotationQuaternion) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else if (this._positionY > globalViewport.y + globalViewport.height - this.borderLimit) {
</s> add } else if (this._positionY > globalViewport.y + globalViewport.height - this.borderLimit) { </s> remove }
else {
</s> add } else { </s> remove }
else if (this._positionX > globalViewport.x + globalViewport.width - this.borderLimit) {
</s> add } else if (this._positionX > globalViewport.x + globalViewport.width - this.borderLimit) { </s> remove }
else if (this.value instanceof BABYLON.Quaternion) {
</s> add } else if (this.value instanceof BABYLON.Quaternion) { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Physics/Plugins/babylon.cannonJSPlugin.js |
} else { | <mask> var mesh = parts[index].mesh;
<mask> var shape = this.registerMesh(mesh, parts[index].impostor);
<mask> if (index == 0) {
<mask> compoundShape.addChild(shape, new CANNON.Vec3(0, 0, 0));
<mask> }
<mask> else {
<mask> compoundShape.addChild(shape, new CANNON.Vec3(mesh.position.x, mesh.position.z, mesh.position.y));
<mask> }
<mask> }
<mask> var initialMesh = parts[0].mesh;
<mask> var body = this._createRigidBodyFromShape(compoundShape, initialMesh, options.mass, options.friction, options.restitution);
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else if (parsedGeometry instanceof ArrayBuffer) {
</s> add } else if (parsedGeometry instanceof ArrayBuffer) { </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Physics/Plugins/babylon.cannonJSPlugin.js |
} else if (registeredMesh.mesh === mesh2) { | <mask> for (var index = 0; index < this._registeredMeshes.length; index++) {
<mask> var registeredMesh = this._registeredMeshes[index];
<mask> if (registeredMesh.mesh === mesh1) {
<mask> body1 = registeredMesh.body;
<mask> }
<mask> else if (registeredMesh.mesh === mesh2) {
<mask> body2 = registeredMesh.body;
<mask> }
<mask> }
<mask> if (!body1 || !body2) {
<mask> return false;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else if (texture instanceof BABYLON.RenderTargetTexture) {
</s> add } else if (texture instanceof BABYLON.RenderTargetTexture) { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else {
</s> remove try {
</s> add
try {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Physics/Plugins/babylon.cannonJSPlugin.js |
<mask> return CannonJSPlugin;
<mask> })();
<mask> BABYLON.CannonJSPlugin = CannonJSPlugin;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.cannonJSPlugin.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add </s> remove //# sourceMappingURL=babylon.octreeBlock.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Physics/Plugins/babylon.cannonJSPlugin.js | |
if (typeof useOverlay === "undefined") { useOverlay = false; } | <mask> function OutlineRenderer(scene) {
<mask> this._scene = scene;
<mask> }
<mask> OutlineRenderer.prototype.render = function (subMesh, batch, useOverlay) {
<mask> if (useOverlay === void 0) { useOverlay = false; }
<mask> var scene = this._scene;
<mask> var engine = this._scene.getEngine();
<mask> var hardwareInstancedRendering = (engine.getCaps().instancedArrays !== null) && (batch.visibleInstances[subMesh._id] !== null) && (batch.visibleInstances[subMesh._id] !== undefined);
<mask> if (!this.isReady(subMesh, hardwareInstancedRendering)) {
<mask> return;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove try {
</s> add try { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.outlineRenderer.js |
} else { | <mask> this._effect.setMatrix("diffuseMatrix", alphaTexture.getTextureMatrix());
<mask> }
<mask> if (hardwareInstancedRendering) {
<mask> mesh._renderWithInstances(subMesh, BABYLON.Material.TriangleFillMode, batch, this._effect, engine);
<mask> }
<mask> else {
<mask> if (batch.renderSelf[subMesh._id]) {
<mask> this._effect.setMatrix("world", mesh.getWorldMatrix());
<mask> // Draw
<mask> mesh._draw(subMesh, BABYLON.Material.TriangleFillMode);
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.outlineRenderer.js |
<mask> return OutlineRenderer;
<mask> })();
<mask> BABYLON.OutlineRenderer = OutlineRenderer;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.outlineRenderer.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add </s> remove //# sourceMappingURL=babylon.octreeBlock.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.outlineRenderer.js | |
} else if (material.needAlphaTesting()) { | <mask> var material = subMesh.getMaterial();
<mask> var mesh = subMesh.getMesh();
<mask> if (material.needAlphaBlending() || mesh.visibility < 1.0 || mesh.hasVertexAlpha) {
<mask> this._transparentSubMeshes.push(subMesh);
<mask> }
<mask> else if (material.needAlphaTesting()) {
<mask> this._alphaTestSubMeshes.push(subMesh);
<mask> }
<mask> else {
<mask> this._opaqueSubMeshes.push(subMesh); // Opaque
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else {
</s> remove }
else if (material instanceof BABYLON.MultiMaterial) {
</s> add } else if (material instanceof BABYLON.MultiMaterial) { </s> remove }
else {
</s> add } else {
</s> remove }
else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
</s> add } else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.renderingGroup.js |
} else { | <mask> this._transparentSubMeshes.push(subMesh);
<mask> }
<mask> else if (material.needAlphaTesting()) {
<mask> this._alphaTestSubMeshes.push(subMesh);
<mask> }
<mask> else {
<mask> this._opaqueSubMeshes.push(subMesh); // Opaque
<mask> }
<mask> };
<mask> return RenderingGroup;
<mask> })();
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else if (material.needAlphaTesting()) {
</s> add } else if (material.needAlphaTesting()) { </s> remove }
else {
</s> add } else { </s> remove }
else if (document.msCancelFullScreen) {
</s> add } else if (document.msCancelFullScreen) {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.renderingGroup.js |
<mask> return RenderingGroup;
<mask> })();
<mask> BABYLON.RenderingGroup = RenderingGroup;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.renderingGroup.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.renderingGroup.js | |
//# sourceMappingURL=babylon.renderingGroup.js.map | <mask> })();
<mask> BABYLON.RenderingGroup = RenderingGroup;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.renderingGroup.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.renderingGroup.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.dds.js.map </s> add </s> remove //# sourceMappingURL=babylon.andOrNotEvaluator.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoystick.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.renderingGroup.js |
<mask> return RenderingManager;
<mask> })();
<mask> BABYLON.RenderingManager = RenderingManager;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.renderingManager.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add </s> remove //# sourceMappingURL=babylon.octreeBlock.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Rendering/babylon.renderingManager.js | |
} else {
| <mask> this.cellIndex += this._direction;
<mask> if (this.cellIndex == this._toIndex) {
<mask> if (this._loopAnimation) {
<mask> this.cellIndex = this._fromIndex;
<mask> }
<mask> else {
<mask> this._animationStarted = false;
<mask> if (this.disposeWhenFinishedAnimating) {
<mask> this.dispose();
<mask> }
<mask> }
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else if (this._pausedDelay) {
</s> add } else if (this._pausedDelay) {
</s> remove }
else if (from instanceof BABYLON.Color3) {
</s> add } else if (from instanceof BABYLON.Color3) {
</s> remove }
else {
</s> add } else {
</s> remove }
else {
</s> add } else { </s> remove }
else if (event.detail) {
</s> add } else if (event.detail) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Sprites/babylon.sprite.js |
<mask> return Sprite;
<mask> })();
<mask> BABYLON.Sprite = Sprite;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.sprite.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add </s> remove //# sourceMappingURL=babylon.octreeBlock.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Sprites/babylon.sprite.js | |
this._vertexStrideSize = 15 * 4;
| <mask> this.sprites = new Array();
<mask> this.renderingGroupId = 0;
<mask> this.fogEnabled = true;
<mask> this._vertexDeclaration = [3, 4, 4, 4];
<mask> this._vertexStrideSize = 15 * 4; // 15 floats per sprite (x, y, z, angle, size, offsetX, offsetY, invertU, invertV, cellIndexX, cellIndexY, color)
<mask> this._capacity = capacity;
<mask> this._spriteTexture = new BABYLON.Texture(imgUrl, scene, true, false);
<mask> this._spriteTexture.wrapU = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> this._spriteTexture.wrapV = BABYLON.Texture.CLAMP_ADDRESSMODE;
<mask> this._epsilon = epsilon === undefined ? 0.01 : epsilon;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (generateMipMaps === void 0) { generateMipMaps = true; }
</s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; } </s> remove this._pendingData = []; //ANY
</s> add this._pendingData = [];
</s> remove if (doNotChangeAspectRatio === void 0) { doNotChangeAspectRatio = true; }
</s> add if (typeof doNotChangeAspectRatio === "undefined") { doNotChangeAspectRatio = true; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; }
</s> add if (typeof samplingMode === "undefined") { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> remove // Statics
</s> add | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Sprites/babylon.spriteManager.js |
<mask> return SpriteManager;
<mask> })();
<mask> BABYLON.SpriteManager = SpriteManager;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.spriteManager.js.map </s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.smartArray.js.map </s> add </s> remove //# sourceMappingURL=babylon.pickingInfo.js.map </s> add </s> remove //# sourceMappingURL=babylon.octree.js.map </s> add | [
"keep",
"keep",
"keep",
"keep",
"replace"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Sprites/babylon.spriteManager.js | |
//# sourceMappingURL=babylon.spriteManager.js.map
| <mask> })();
<mask> BABYLON.SpriteManager = SpriteManager;
<mask> })(BABYLON || (BABYLON = {}));
<mask> //# sourceMappingURL=babylon.spriteManager.js.map
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.spriteManager.js.map </s> add </s> remove //# sourceMappingURL=babylon.andOrNotEvaluator.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.tga.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.dds.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoystick.js.map </s> add | [
"keep",
"keep",
"keep",
"add"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Sprites/babylon.spriteManager.js |
<mask> var BABYLON;
<mask> (function (BABYLON) {
<mask> var Internals;
<mask> (function (Internals) {
<mask> var AndOrNotEvaluator = (function () {
<mask> function AndOrNotEvaluator() {
<mask> }
<mask> AndOrNotEvaluator.Eval = function (query, evaluateCallback) {
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove var Internals;
</s> add </s> remove var VirtualJoystick;
</s> add </s> remove var Internals;
</s> add </s> remove var Internals;
</s> add </s> remove if (maxDepth === void 0) { maxDepth = 2; }
</s> add if (typeof maxDepth === "undefined") { maxDepth = 2; } | [
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Tools/babylon.andOrNotEvaluator.js | |
} else { | <mask> }
<mask> AndOrNotEvaluator.Eval = function (query, evaluateCallback) {
<mask> if (!query.match(/\([^\(\)]*\)/g)) {
<mask> query = AndOrNotEvaluator._HandleParenthesisContent(query, evaluateCallback);
<mask> }
<mask> else {
<mask> query = query.replace(/\([^\(\)]*\)/g, function (r) {
<mask> // remove parenthesis
<mask> r = r.slice(1, r.length - 1);
<mask> return AndOrNotEvaluator._HandleParenthesisContent(r, evaluateCallback);
<mask> });
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove r = r.replace(/[\s]/g, function () { return ""; });
</s> add r = r.replace(/[\s]/g, function () {
return "";
}); </s> remove var Internals;
</s> add </s> remove return BABYLON.Internals.AndOrNotEvaluator.Eval(tagsQuery, function (r) { return Tags.HasTags(obj) && obj._tags[r]; });
</s> add return BABYLON.Internals.AndOrNotEvaluator.Eval(tagsQuery, function (r) {
return Tags.HasTags(obj) && obj._tags[r];
}); </s> remove }
else if (this._pausedDelay) {
</s> add } else if (this._pausedDelay) {
</s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Tools/babylon.andOrNotEvaluator.js |
} else { | <mask> var andj = AndOrNotEvaluator._SimplifyNegation(and[j].trim());
<mask> if (andj !== "true" && andj !== "false") {
<mask> if (andj[0] === "!") {
<mask> result = !evaluateCallback(andj.substring(1));
<mask> }
<mask> else {
<mask> result = evaluateCallback(andj);
<mask> }
<mask> }
<mask> else {
<mask> result = andj === "true" ? true : false;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove if (atIndices === void 0) { atIndices = null; }
</s> add if (typeof atIndices === "undefined") { atIndices = null; }
</s> remove }
else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
</s> add } else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Tools/babylon.andOrNotEvaluator.js |
} else { | <mask> }
<mask> else {
<mask> result = evaluateCallback(andj);
<mask> }
<mask> }
<mask> else {
<mask> result = andj === "true" ? true : false;
<mask> }
<mask> if (!result) {
<mask> ori = "false";
<mask> break;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
</s> add } else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Tools/babylon.andOrNotEvaluator.js |
} else { | <mask> // result equals false (or undefined)
<mask> if (ori !== "true" && ori !== "false") {
<mask> if (ori[0] === "!") {
<mask> result = !evaluateCallback(ori.substring(1));
<mask> }
<mask> else {
<mask> result = evaluateCallback(ori);
<mask> }
<mask> }
<mask> else {
<mask> result = ori === "true" ? true : false;
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
</s> add } else if (!mesh.isEnabled() || !mesh.isVisible || !mesh.isPickable) {
</s> remove if (atIndices === void 0) { atIndices = null; }
</s> add if (typeof atIndices === "undefined") { atIndices = null; }
| [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Tools/babylon.andOrNotEvaluator.js |
} else { | <mask> }
<mask> else {
<mask> result = evaluateCallback(ori);
<mask> }
<mask> }
<mask> else {
<mask> result = ori === "true" ? true : false;
<mask> }
<mask> }
<mask> // the whole parenthesis scope is replaced by 'true' or 'false'
<mask> return result ? "true" : "false";
</s> Update after project rebuild
Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { </s> remove }
else {
</s> add } else { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e | Babylon/Tools/babylon.andOrNotEvaluator.js |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.