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
return this;
<mask> this.y *= scale; <mask> this.z *= scale; <mask> } <mask> <mask> public scale(scale: number): Vector3 { <mask> return new Vector3(this.x * scale, this.y * scale, this.z * scale); <mask> } </s> Return 'this' in Vector2/3::ScaleInPlace/Normalize for easy chaining Former-commit-id: 086b95c77d14ff95c572bf94570fb75723dfddbc
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/ecc2ad2f61b2f1640589548f3881cc297f95d2a5
Babylon/Math/babylon.math.ts
return this;
<mask> <mask> this.x *= num; <mask> this.y *= num; <mask> this.z *= num; <mask> } <mask> <mask> public clone(): Vector3 { <mask> return new Vector3(this.x, this.y, this.z); <mask> } </s> Return 'this' in Vector2/3::ScaleInPlace/Normalize for easy chaining Former-commit-id: 086b95c77d14ff95c572bf94570fb75723dfddbc
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/ecc2ad2f61b2f1640589548f3881cc297f95d2a5
Babylon/Math/babylon.math.ts
} else {
<mask> this.triggerOptions = triggerOptions; <mask> if (triggerOptions.parameter) { <mask> this.trigger = triggerOptions.trigger; <mask> this._triggerParameter = triggerOptions.parameter; <mask> } <mask> else { <mask> this.trigger = triggerOptions; <mask> } <mask> this._nextActiveAction = this; <mask> this._condition = condition; <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 (mesh.rotation) { </s> add } else if (mesh.rotation) { </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/Actions/babylon.action.js
} else {
<mask> if (this._condition._evaluationId === currentRenderId) { <mask> if (!this._condition._currentResult) { <mask> return; <mask> } <mask> } <mask> else { <mask> this._condition._evaluationId = currentRenderId; <mask> if (!this._condition.isValid()) { <mask> this._condition._currentResult = false; <mask> return; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (from instanceof BABYLON.Color3) { </s> add } else if (from instanceof BABYLON.Color3) { </s> remove } else { </s> add } else { </s> remove if (condition === void 0) { condition = true; } </s> add if (typeof condition === "undefined") { condition = true; } </s> remove } else { </s> add } else { </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/Actions/babylon.action.js
} else {
<mask> if (!this._nextActiveAction._child._actionManager) { <mask> this._nextActiveAction._child._actionManager = this._actionManager; <mask> } <mask> this._nextActiveAction = this._nextActiveAction._child; <mask> } <mask> else { <mask> this._nextActiveAction = this; <mask> } <mask> }; <mask> Action.prototype.execute = function (evt) { <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/Actions/babylon.action.js
<mask> return Action; <mask> })(); <mask> BABYLON.Action = Action; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.action.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/Actions/babylon.action.js
<mask> ActionManager.prototype._getProperty = function (propertyPath) { <mask> var properties = propertyPath.split("."); <mask> return properties[properties.length - 1]; <mask> }; <mask> // Statics <mask> ActionManager._NothingTrigger = 0; <mask> ActionManager._OnPickTrigger = 1; <mask> ActionManager._OnLeftPickTrigger = 2; <mask> ActionManager._OnRightPickTrigger = 3; <mask> ActionManager._OnCenterPickTrigger = 4; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Statics </s> add </s> remove // Statics </s> add </s> remove // Statics </s> add </s> remove // Logs </s> add </s> remove // Constants </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.actionManager.js
<mask> return ActionManager; <mask> })(); <mask> BABYLON.ActionManager = ActionManager; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.actionManager.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/Actions/babylon.actionManager.js
if (typeof operator === "undefined") { operator = ValueCondition.IsEqual; }
<mask> BABYLON.Condition = Condition; <mask> var ValueCondition = (function (_super) { <mask> __extends(ValueCondition, _super); <mask> function ValueCondition(actionManager, target, propertyPath, value, operator) { <mask> if (operator === void 0) { operator = ValueCondition.IsEqual; } <mask> _super.call(this, actionManager); <mask> this.propertyPath = propertyPath; <mask> this.value = value; <mask> this.operator = operator; <mask> this._target = this._getEffectiveTarget(target, this.propertyPath); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (duration === void 0) { duration = 1000; } </s> add if (typeof duration === "undefined") { duration = 1000; } </s> remove if (priority === void 0) { priority = 0; } if (maximumScale === void 0) { maximumScale = 2; } </s> add </s> remove if (priority === void 0) { priority = 0; } if (maximumSize === void 0) { maximumSize = 1024; } </s> add </s> remove if (triggerOptions === void 0) { triggerOptions = BABYLON.ActionManager.NothingTrigger; } </s> add if (typeof triggerOptions === "undefined") { triggerOptions = BABYLON.ActionManager.NothingTrigger; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> add 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/Actions/babylon.condition.js
} else {
<mask> case ValueCondition.IsDifferent: <mask> var check; <mask> if (this.value.equals) { <mask> check = this.value.equals(this._target[this._property]); <mask> } <mask> else { <mask> check = this.value === this._target[this._property]; <mask> } <mask> return this.operator === ValueCondition.IsEqual ? check : !check; <mask> } <mask> return false; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Statics </s> add </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/Actions/babylon.condition.js
<mask> return this.operator === ValueCondition.IsEqual ? check : !check; <mask> } <mask> return false; <mask> }; <mask> // Statics <mask> ValueCondition._IsEqual = 0; <mask> ValueCondition._IsDifferent = 1; <mask> ValueCondition._IsGreater = 2; <mask> ValueCondition._IsLesser = 3; <mask> return ValueCondition; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove // Statics </s> add </s> remove // Statics </s> add </s> remove // Statics </s> add </s> remove // Constants </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.condition.js
<mask> return StateCondition; <mask> })(Condition); <mask> BABYLON.StateCondition = StateCondition; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.condition.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/Actions/babylon.condition.js
if (typeof triggerOptions === "undefined") { triggerOptions = BABYLON.ActionManager.NothingTrigger; }
<mask> BABYLON.StopAnimationAction = StopAnimationAction; <mask> var DoNothingAction = (function (_super) { <mask> __extends(DoNothingAction, _super); <mask> function DoNothingAction(triggerOptions, condition) { <mask> if (triggerOptions === void 0) { triggerOptions = BABYLON.ActionManager.NothingTrigger; } <mask> _super.call(this, triggerOptions, condition); <mask> } <mask> DoNothingAction.prototype.execute = function () { <mask> }; <mask> return DoNothingAction; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (duration === void 0) { duration = 1000; } </s> add if (typeof duration === "undefined") { duration = 1000; } </s> remove if (priority === void 0) { priority = 0; } if (maximumScale === void 0) { maximumScale = 2; } </s> add </s> remove if (priority === void 0) { priority = 0; } if (maximumSize === void 0) { maximumSize = 1024; } </s> add </s> remove if (condition === void 0) { condition = true; } </s> add if (typeof condition === "undefined") { condition = true; } </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> add 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/Actions/babylon.directActions.js
<mask> return SetParentAction; <mask> })(BABYLON.Action); <mask> BABYLON.SetParentAction = SetParentAction; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.directActions.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.interpolateValueAction.js.map </s> add </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/Actions/babylon.directActions.js
if (typeof duration === "undefined") { duration = 1000; }
<mask> (function (BABYLON) { <mask> var InterpolateValueAction = (function (_super) { <mask> __extends(InterpolateValueAction, _super); <mask> function InterpolateValueAction(triggerOptions, target, propertyPath, value, duration, condition, stopOtherAnimations) { <mask> if (duration === void 0) { duration = 1000; } <mask> _super.call(this, triggerOptions, condition); <mask> this.propertyPath = propertyPath; <mask> this.value = value; <mask> this.duration = duration; <mask> this.stopOtherAnimations = stopOtherAnimations; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (operator === void 0) { operator = ValueCondition.IsEqual; } </s> add if (typeof operator === "undefined") { operator = ValueCondition.IsEqual; } </s> remove if (triggerOptions === void 0) { triggerOptions = BABYLON.ActionManager.NothingTrigger; } </s> add if (typeof triggerOptions === "undefined") { triggerOptions = BABYLON.ActionManager.NothingTrigger; } </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; } </s> add if (typeof generateMipMaps === "undefined") { generateMipMaps = true; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.interpolateValueAction.js
}, {
<mask> var keys = [ <mask> { <mask> frame: 0, <mask> value: this._target[this._property] <mask> }, <mask> { <mask> frame: 100, <mask> value: this.value <mask> } <mask> ]; <mask> var dataType; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.value instanceof BABYLON.Color3) { </s> add } else if (this.value instanceof BABYLON.Color3) { </s> remove } else { </s> add } else { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </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/Actions/babylon.interpolateValueAction.js
} else if (this.value instanceof BABYLON.Color3) {
<mask> ]; <mask> var dataType; <mask> if (typeof this.value === "number") { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_FLOAT; <mask> } <mask> else if (this.value instanceof BABYLON.Color3) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_COLOR3; <mask> } <mask> else if (this.value instanceof BABYLON.Vector3) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_VECTOR3; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) { </s> remove } else if (this.value instanceof BABYLON.Matrix) { </s> add } else if (this.value instanceof BABYLON.Matrix) { </s> remove } else if (this.value instanceof BABYLON.Quaternion) { </s> add } else if (this.value instanceof BABYLON.Quaternion) { </s> remove } else if (from instanceof BABYLON.Vector2) { </s> add } else if (from instanceof BABYLON.Vector2) { </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.interpolateValueAction.js
} else if (this.value instanceof BABYLON.Vector3) {
<mask> dataType = BABYLON.Animation.ANIMATIONTYPE_FLOAT; <mask> } <mask> else if (this.value instanceof BABYLON.Color3) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_COLOR3; <mask> } <mask> else if (this.value instanceof BABYLON.Vector3) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_VECTOR3; <mask> } <mask> else if (this.value instanceof BABYLON.Matrix) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_MATRIX; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.value instanceof BABYLON.Matrix) { </s> add } else if (this.value instanceof BABYLON.Matrix) { </s> remove } else if (this.value instanceof BABYLON.Color3) { </s> add } else if (this.value instanceof BABYLON.Color3) { </s> remove } else if (this.value instanceof BABYLON.Quaternion) { </s> add } else if (this.value instanceof BABYLON.Quaternion) { </s> remove } else if (from instanceof BABYLON.Vector2) { </s> add } else if (from instanceof BABYLON.Vector2) { </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.interpolateValueAction.js
} else if (this.value instanceof BABYLON.Matrix) {
<mask> dataType = BABYLON.Animation.ANIMATIONTYPE_COLOR3; <mask> } <mask> else if (this.value instanceof BABYLON.Vector3) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_VECTOR3; <mask> } <mask> else if (this.value instanceof BABYLON.Matrix) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_MATRIX; <mask> } <mask> else if (this.value instanceof BABYLON.Quaternion) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_QUATERNION; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) { </s> remove } else if (this.value instanceof BABYLON.Quaternion) { </s> add } else if (this.value instanceof BABYLON.Quaternion) { </s> remove } else if (this.value instanceof BABYLON.Color3) { </s> add } else if (this.value instanceof BABYLON.Color3) { </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) { </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/Actions/babylon.interpolateValueAction.js
} else if (this.value instanceof BABYLON.Quaternion) {
<mask> dataType = BABYLON.Animation.ANIMATIONTYPE_VECTOR3; <mask> } <mask> else if (this.value instanceof BABYLON.Matrix) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_MATRIX; <mask> } <mask> else if (this.value instanceof BABYLON.Quaternion) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_QUATERNION; <mask> } <mask> else { <mask> BABYLON.Tools.Warn("InterpolateValueAction: Unsupported type (" + typeof this.value + ")"); <mask> return; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove } else if (this.value instanceof BABYLON.Matrix) { </s> add } else if (this.value instanceof BABYLON.Matrix) { </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) { </s> remove } else if (this.value instanceof BABYLON.Color3) { </s> add } else if (this.value instanceof BABYLON.Color3) { </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.interpolateValueAction.js
} else {
<mask> dataType = BABYLON.Animation.ANIMATIONTYPE_MATRIX; <mask> } <mask> else if (this.value instanceof BABYLON.Quaternion) { <mask> dataType = BABYLON.Animation.ANIMATIONTYPE_QUATERNION; <mask> } <mask> else { <mask> BABYLON.Tools.Warn("InterpolateValueAction: Unsupported type (" + typeof this.value + ")"); <mask> return; <mask> } <mask> var animation = new BABYLON.Animation("InterpolateValueAction", this._property, 100 * (1000.0 / this.duration), dataType, BABYLON.Animation.ANIMATIONLOOPMODE_CONSTANT); <mask> animation.setKeys(keys); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.value instanceof BABYLON.Quaternion) { </s> add } else if (this.value instanceof BABYLON.Quaternion) { </s> remove } else if (this.value instanceof BABYLON.Matrix) { </s> add } else if (this.value instanceof BABYLON.Matrix) { </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) { </s> remove } else if (this.value instanceof BABYLON.Color3) { </s> add } else if (this.value instanceof BABYLON.Color3) { </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Actions/babylon.interpolateValueAction.js
<mask> return InterpolateValueAction; <mask> })(BABYLON.Action); <mask> BABYLON.InterpolateValueAction = InterpolateValueAction; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.interpolateValueAction.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.directActions.js.map </s> add </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/Actions/babylon.interpolateValueAction.js
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; }
<mask> var BABYLON; <mask> (function (BABYLON) { <mask> var Animatable = (function () { <mask> function Animatable(scene, target, fromFrame, toFrame, loopAnimation, speedRatio, onAnimationEnd, animations) { <mask> if (fromFrame === void 0) { fromFrame = 0; } <mask> if (toFrame === void 0) { toFrame = 100; } <mask> if (loopAnimation === void 0) { loopAnimation = false; } <mask> if (speedRatio === void 0) { speedRatio = 1.0; } <mask> this.target = target; <mask> this.fromFrame = fromFrame; <mask> this.toFrame = toFrame; <mask> this.loopAnimation = loopAnimation; <mask> this.speedRatio = speedRatio; </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; } 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 (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; } </s> remove if (maxDepth === void 0) { maxDepth = 2; } </s> add if (typeof maxDepth === "undefined") { maxDepth = 2; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.animatable.js
} else if (this._pausedDelay) {
<mask> return true; <mask> } <mask> if (!this._localDelayOffset) { <mask> this._localDelayOffset = delay; <mask> } <mask> else if (this._pausedDelay) { <mask> this._localDelayOffset += delay - this._pausedDelay; <mask> this._pausedDelay = null; <mask> } <mask> // Animating <mask> var running = 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 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; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.animatable.js
<mask> return Animatable; <mask> })(); <mask> BABYLON.Animatable = Animatable; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.animatable.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/Animations/babylon.animatable.js
//# sourceMappingURL=babylon.animatable.js.map
<mask> })(); <mask> BABYLON.Animatable = Animatable; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.animatable.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.animatable.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/Animations/babylon.animatable.js
} else if (from instanceof BABYLON.Quaternion) {
<mask> Animation.CreateAndStartAnimation = function (name, mesh, tartgetProperty, framePerSecond, totalFrame, from, to, loopMode) { <mask> var dataType = undefined; <mask> if (!isNaN(parseFloat(from)) && isFinite(from)) { <mask> dataType = Animation.ANIMATIONTYPE_FLOAT; <mask> } <mask> else if (from instanceof BABYLON.Quaternion) { <mask> dataType = Animation.ANIMATIONTYPE_QUATERNION; <mask> } <mask> else if (from instanceof BABYLON.Vector3) { <mask> dataType = Animation.ANIMATIONTYPE_VECTOR3; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) { </s> remove } else if (from instanceof BABYLON.Vector2) { </s> add } else if (from instanceof BABYLON.Vector2) { </s> remove } else if (from instanceof BABYLON.Color3) { </s> add } else if (from instanceof BABYLON.Color3) { </s> remove } else if (this.value instanceof BABYLON.Matrix) { </s> add } else if (this.value instanceof BABYLON.Matrix) { </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.animation.js
} else if (from instanceof BABYLON.Vector3) {
<mask> dataType = Animation.ANIMATIONTYPE_FLOAT; <mask> } <mask> else if (from instanceof BABYLON.Quaternion) { <mask> dataType = Animation.ANIMATIONTYPE_QUATERNION; <mask> } <mask> else if (from instanceof BABYLON.Vector3) { <mask> dataType = Animation.ANIMATIONTYPE_VECTOR3; <mask> } <mask> else if (from instanceof BABYLON.Vector2) { <mask> dataType = Animation.ANIMATIONTYPE_VECTOR2; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (from instanceof BABYLON.Vector2) { </s> add } else if (from instanceof BABYLON.Vector2) { </s> remove } else if (from instanceof BABYLON.Quaternion) { </s> add } else if (from instanceof BABYLON.Quaternion) { </s> remove } else if (from instanceof BABYLON.Color3) { </s> add } else if (from instanceof BABYLON.Color3) { </s> remove } else if (this.value instanceof BABYLON.Matrix) { </s> add } else if (this.value instanceof BABYLON.Matrix) { </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.animation.js
} else if (from instanceof BABYLON.Vector2) {
<mask> dataType = Animation.ANIMATIONTYPE_QUATERNION; <mask> } <mask> else if (from instanceof BABYLON.Vector3) { <mask> dataType = Animation.ANIMATIONTYPE_VECTOR3; <mask> } <mask> else if (from instanceof BABYLON.Vector2) { <mask> dataType = Animation.ANIMATIONTYPE_VECTOR2; <mask> } <mask> else if (from instanceof BABYLON.Color3) { <mask> dataType = Animation.ANIMATIONTYPE_COLOR3; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) { </s> remove } else if (from instanceof BABYLON.Color3) { </s> add } else if (from instanceof BABYLON.Color3) { </s> remove } else if (from instanceof BABYLON.Quaternion) { </s> add } else if (from instanceof BABYLON.Quaternion) { </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) { </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/Animations/babylon.animation.js
} else if (from instanceof BABYLON.Color3) {
<mask> dataType = Animation.ANIMATIONTYPE_VECTOR3; <mask> } <mask> else if (from instanceof BABYLON.Vector2) { <mask> dataType = Animation.ANIMATIONTYPE_VECTOR2; <mask> } <mask> else if (from instanceof BABYLON.Color3) { <mask> dataType = Animation.ANIMATIONTYPE_COLOR3; <mask> } <mask> if (dataType == undefined) { <mask> return; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (from instanceof BABYLON.Vector2) { </s> add } else if (from instanceof BABYLON.Vector2) { </s> remove } else if (from instanceof BABYLON.Vector3) { </s> add } else if (from instanceof BABYLON.Vector3) { </s> remove } else if (from instanceof BABYLON.Quaternion) { </s> add } else if (from instanceof BABYLON.Quaternion) { </s> remove } else if (this.value instanceof BABYLON.Vector3) { </s> add } else if (this.value instanceof BABYLON.Vector3) { </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/Animations/babylon.animation.js
// Methods
<mask> animation.setKeys(keys); <mask> mesh.animations.push(animation); <mask> mesh.getScene().beginAnimation(mesh, 0, totalFrame, (animation.loopMode === 1)); <mask> }; <mask> // Methods <mask> Animation.prototype.isStopped = function () { <mask> return this._stopped; <mask> }; <mask> Animation.prototype.getKeys = function () { <mask> return this._keys; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Methods </s> add // Methods </s> remove } else { </s> add } else { </s> remove r = r.replace(/[\s]/g, function () { return ""; }); </s> add r = r.replace(/[\s]/g, function () { return ""; }); </s> remove } else { </s> add } else { </s> remove if (samplingMode === void 0) { samplingMode = BABYLON.Texture.TRILINEAR_SAMPLINGMODE; } </s> add 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/Animations/babylon.animation.js
} else {
<mask> var highLimitValue = 0; <mask> if (ratio > range && !loop) { <mask> returnValue = false; <mask> highLimitValue = this._getKeyValue(this._keys[this._keys.length - 1].value); <mask> } <mask> else { <mask> // Get max value if required <mask> if (this.loopMode !== Animation.ANIMATIONLOOPMODE_CYCLE) { <mask> var keyOffset = to.toString() + from.toString(); <mask> if (!this._offsetsCache[keyOffset]) { <mask> var fromValue = this._interpolate(from, 0, Animation.ANIMATIONLOOPMODE_CYCLE); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </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 { </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 (parsedAction.properties[i].name != "propertyPath") { </s> add } else if (parsedAction.properties[i].name != "propertyPath") { </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/Animations/babylon.animation.js
} else {
<mask> for (var index = 1; index < this.targetPropertyPath.length - 1; index++) { <mask> property = property[this.targetPropertyPath[index]]; <mask> } <mask> property[this.targetPropertyPath[this.targetPropertyPath.length - 1]] = currentValue; <mask> } <mask> else { <mask> this._target[this.targetPropertyPath[0]] = currentValue; <mask> } <mask> if (this._target.markAsDirty) { <mask> this._target.markAsDirty(this.targetProperty); <mask> } </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 if (registeredMesh.mesh === mesh2) { </s> add } else if (registeredMesh.mesh === mesh2) { </s> remove } catch (e) { </s> add } catch (e) { // Silently fails...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.animation.js
<mask> }, <mask> enumerable: true, <mask> configurable: true <mask> }); <mask> // Statics <mask> Animation._ANIMATIONTYPE_FLOAT = 0; <mask> Animation._ANIMATIONTYPE_VECTOR3 = 1; <mask> Animation._ANIMATIONTYPE_QUATERNION = 2; <mask> Animation._ANIMATIONTYPE_MATRIX = 3; <mask> Animation._ANIMATIONTYPE_COLOR3 = 4; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Statics </s> add </s> remove } else { </s> add } else { </s> remove // Statics </s> add </s> remove // Statics </s> add </s> remove // Logs </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.animation.js
<mask> return Animation; <mask> })(); <mask> BABYLON.Animation = Animation; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.animation.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/Animations/babylon.animation.js
<mask> return (((1 - this.easeInCore((1 - gradient) * 2)) * 0.5) + 0.5); <mask> } <mask> return (this.easeInCore(gradient * 2) * 0.5); <mask> }; <mask> //Statics <mask> EasingFunction._EASINGMODE_EASEIN = 0; <mask> EasingFunction._EASINGMODE_EASEOUT = 1; <mask> EasingFunction._EASINGMODE_EASEINOUT = 2; <mask> return EasingFunction; <mask> })(); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove var vx = dx * this.cameraAcceleration * 2; //this is set to .05 </s> add var vx = dx * this.cameraAcceleration * 2; </s> remove } else if (info.isLuminance) { </s> add } else if (info.isLuminance) { </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/Animations/babylon.easing.js
if (typeof amplitude === "undefined") { amplitude = 1; }
<mask> BABYLON.CircleEase = CircleEase; <mask> var BackEase = (function (_super) { <mask> __extends(BackEase, _super); <mask> function BackEase(amplitude) { <mask> if (amplitude === void 0) { amplitude = 1; } <mask> _super.call(this); <mask> this.amplitude = amplitude; <mask> } <mask> BackEase.prototype.easeInCore = function (gradient) { <mask> var num = Math.max(0, this.amplitude); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (exponent === void 0) { exponent = 2; } </s> add if (typeof exponent === "undefined") { exponent = 2; } </s> remove if (power === void 0) { power = 2; } </s> add if (typeof power === "undefined") { power = 2; } </s> remove if (bounces === void 0) { bounces = 3; } if (bounciness === void 0) { bounciness = 2; } </s> add if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; } </s> remove if (oscillations === void 0) { oscillations = 3; } if (springiness === void 0) { springiness = 3; } </s> add if (typeof oscillations === "undefined") { oscillations = 3; } if (typeof springiness === "undefined") { springiness = 3; } </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; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; }
<mask> BABYLON.BackEase = BackEase; <mask> var BounceEase = (function (_super) { <mask> __extends(BounceEase, _super); <mask> function BounceEase(bounces, bounciness) { <mask> if (bounces === void 0) { bounces = 3; } <mask> if (bounciness === void 0) { bounciness = 2; } <mask> _super.call(this); <mask> this.bounces = bounces; <mask> this.bounciness = bounciness; <mask> } <mask> BounceEase.prototype.easeInCore = function (gradient) { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (oscillations === void 0) { oscillations = 3; } if (springiness === void 0) { springiness = 3; } </s> add if (typeof oscillations === "undefined") { oscillations = 3; } if (typeof springiness === "undefined") { springiness = 3; } </s> remove if (exponent === void 0) { exponent = 2; } </s> add if (typeof exponent === "undefined") { exponent = 2; } </s> remove if (power === void 0) { power = 2; } </s> add if (typeof power === "undefined") { power = 2; } </s> remove if (amplitude === void 0) { amplitude = 1; } </s> add if (typeof amplitude === "undefined") { amplitude = 1; } </s> remove if (priority === void 0) { priority = 0; } if (maximumScale === void 0) { maximumScale = 2; } </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
if (typeof oscillations === "undefined") { oscillations = 3; } if (typeof springiness === "undefined") { springiness = 3; }
<mask> BABYLON.CubicEase = CubicEase; <mask> var ElasticEase = (function (_super) { <mask> __extends(ElasticEase, _super); <mask> function ElasticEase(oscillations, springiness) { <mask> if (oscillations === void 0) { oscillations = 3; } <mask> if (springiness === void 0) { springiness = 3; } <mask> _super.call(this); <mask> this.oscillations = oscillations; <mask> this.springiness = springiness; <mask> } <mask> ElasticEase.prototype.easeInCore = function (gradient) { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (bounces === void 0) { bounces = 3; } if (bounciness === void 0) { bounciness = 2; } </s> add if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; } </s> remove if (exponent === void 0) { exponent = 2; } </s> add if (typeof exponent === "undefined") { exponent = 2; } </s> remove if (power === void 0) { power = 2; } </s> add if (typeof power === "undefined") { power = 2; } </s> remove if (amplitude === void 0) { amplitude = 1; } </s> add if (typeof amplitude === "undefined") { amplitude = 1; } </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; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
} else {
<mask> var num3 = Math.max(0.0, this.oscillations); <mask> var num = Math.max(0.0, this.springiness); <mask> if (num == 0) { <mask> num2 = gradient; <mask> } <mask> else { <mask> num2 = (Math.exp(num * gradient) - 1.0) / (Math.exp(num) - 1.0); <mask> } <mask> return (num2 * Math.sin(((6.2831853071795862 * num3) + 1.5707963267948966) * gradient)); <mask> }; <mask> return ElasticEase; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //Statics </s> add </s> remove } else if (info.isLuminance) { </s> add } else if (info.isLuminance) { </s> remove } else { </s> add } else { </s> remove } else { </s> add } else { </s> remove var vx = dx * this.cameraAcceleration * 2; //this is set to .05 </s> add var vx = dx * this.cameraAcceleration * 2;
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
if (typeof exponent === "undefined") { exponent = 2; }
<mask> BABYLON.ElasticEase = ElasticEase; <mask> var ExponentialEase = (function (_super) { <mask> __extends(ExponentialEase, _super); <mask> function ExponentialEase(exponent) { <mask> if (exponent === void 0) { exponent = 2; } <mask> _super.call(this); <mask> this.exponent = exponent; <mask> } <mask> ExponentialEase.prototype.easeInCore = function (gradient) { <mask> if (this.exponent <= 0) { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (power === void 0) { power = 2; } </s> add if (typeof power === "undefined") { power = 2; } </s> remove if (bounces === void 0) { bounces = 3; } if (bounciness === void 0) { bounciness = 2; } </s> add if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; } </s> remove if (amplitude === void 0) { amplitude = 1; } </s> add if (typeof amplitude === "undefined") { amplitude = 1; } </s> remove if (oscillations === void 0) { oscillations = 3; } if (springiness === void 0) { springiness = 3; } </s> add if (typeof oscillations === "undefined") { oscillations = 3; } if (typeof springiness === "undefined") { springiness = 3; } </s> remove if (priority === void 0) { priority = 0; } if (maximumScale === void 0) { maximumScale = 2; } </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
if (typeof power === "undefined") { power = 2; }
<mask> BABYLON.ExponentialEase = ExponentialEase; <mask> var PowerEase = (function (_super) { <mask> __extends(PowerEase, _super); <mask> function PowerEase(power) { <mask> if (power === void 0) { power = 2; } <mask> _super.call(this); <mask> this.power = power; <mask> } <mask> PowerEase.prototype.easeInCore = function (gradient) { <mask> var y = Math.max(0.0, this.power); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (exponent === void 0) { exponent = 2; } </s> add if (typeof exponent === "undefined") { exponent = 2; } </s> remove if (bounces === void 0) { bounces = 3; } if (bounciness === void 0) { bounciness = 2; } </s> add if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; } </s> remove if (amplitude === void 0) { amplitude = 1; } </s> add if (typeof amplitude === "undefined") { amplitude = 1; } </s> remove if (oscillations === void 0) { oscillations = 3; } if (springiness === void 0) { springiness = 3; } </s> add if (typeof oscillations === "undefined") { oscillations = 3; } if (typeof springiness === "undefined") { springiness = 3; } </s> remove if (priority === void 0) { priority = 0; } if (maximumScale === void 0) { maximumScale = 2; } </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
if (typeof x1 === "undefined") { x1 = 0; } if (typeof y1 === "undefined") { y1 = 0; } if (typeof x2 === "undefined") { x2 = 1; } if (typeof y2 === "undefined") { y2 = 1; }
<mask> BABYLON.SineEase = SineEase; <mask> var BezierCurveEase = (function (_super) { <mask> __extends(BezierCurveEase, _super); <mask> function BezierCurveEase(x1, y1, x2, y2) { <mask> if (x1 === void 0) { x1 = 0; } <mask> if (y1 === void 0) { y1 = 0; } <mask> if (x2 === void 0) { x2 = 1; } <mask> if (y2 === void 0) { y2 = 1; } <mask> _super.call(this); <mask> this.x1 = x1; <mask> this.y1 = y1; <mask> this.x2 = x2; <mask> this.y2 = y2; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (priority === void 0) { priority = 0; } if (maximumScale === void 0) { maximumScale = 2; } </s> add </s> remove if (amplitude === void 0) { amplitude = 1; } </s> add if (typeof amplitude === "undefined") { amplitude = 1; } </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 (bounces === void 0) { bounces = 3; } if (bounciness === void 0) { bounciness = 2; } </s> add if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; } </s> remove if (oscillations === void 0) { oscillations = 3; } if (springiness === void 0) { springiness = 3; } </s> add if (typeof oscillations === "undefined") { oscillations = 3; } if (typeof springiness === "undefined") { springiness = 3; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Animations/babylon.easing.js
<mask> return BezierCurveEase; <mask> })(EasingFunction); <mask> BABYLON.BezierCurveEase = BezierCurveEase; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.easing.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/Animations/babylon.easing.js
try {
<mask> var AudioEngine = (function () { <mask> function AudioEngine() { <mask> this.audioContext = null; <mask> this.canUseWebAudio = false; <mask> try { <mask> if (typeof AudioContext !== 'undefined') { <mask> this.audioContext = new AudioContext(); <mask> this.canUseWebAudio = true; <mask> } <mask> else if (typeof webkitAudioContext !== 'undefined') { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (typeof webkitAudioContext !== 'undefined') { </s> add } else if (typeof webkitAudioContext !== 'undefined') { </s> remove } catch (e) { </s> add } catch (e) { </s> remove if (useOverlay === void 0) { useOverlay = false; } </s> add if (typeof useOverlay === "undefined") { useOverlay = false; } </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 (atIndices === void 0) { atIndices = null; } </s> add if (typeof atIndices === "undefined") { atIndices = null; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.audioengine.js
} else if (typeof webkitAudioContext !== 'undefined') {
<mask> try { <mask> if (typeof AudioContext !== 'undefined') { <mask> this.audioContext = new AudioContext(); <mask> this.canUseWebAudio = true; <mask> } <mask> else if (typeof webkitAudioContext !== 'undefined') { <mask> this.audioContext = new webkitAudioContext(); <mask> this.canUseWebAudio = true; <mask> } <mask> } <mask> catch (e) { </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 } catch (e) { </s> add } catch (e) { </s> remove } else { </s> add } else { </s> remove if (showUI === void 0) { showUI = true; } </s> add if (typeof showUI === "undefined") { showUI = true; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.audioengine.js
} catch (e) {
<mask> else if (typeof webkitAudioContext !== 'undefined') { <mask> this.audioContext = new webkitAudioContext(); <mask> this.canUseWebAudio = true; <mask> } <mask> } <mask> catch (e) { <mask> this.canUseWebAudio = false; <mask> } <mask> // create a global volume gain node <mask> if (this.canUseWebAudio) { <mask> this.masterGain = this.audioContext.createGain(); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (typeof webkitAudioContext !== 'undefined') { </s> add } else if (typeof webkitAudioContext !== 'undefined') { </s> remove try { </s> add try { </s> remove } catch (e) { </s> add } catch (e) { </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; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.audioengine.js
} else {
<mask> } <mask> AudioEngine.prototype.getGlobalVolume = function () { <mask> if (this.canUseWebAudio) { <mask> return this.masterGain.gain.value; <mask> } <mask> else { <mask> return -1; <mask> } <mask> }; <mask> AudioEngine.prototype.setGlobalVolume = function (newVolume) { <mask> if (this.canUseWebAudio) { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } catch (e) { </s> add } catch (e) { </s> remove } else if (document.mozCancelFullScreen) { </s> add } else if (document.mozCancelFullScreen) { </s> remove } else { </s> add } else { </s> remove } else if (source.clone) { </s> add } else if (source.clone) { </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/Audio/babylon.audioengine.js
<mask> return AudioEngine; <mask> })(); <mask> BABYLON.AudioEngine = AudioEngine; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.audioengine.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.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/Audio/babylon.audioengine.js
} else {
<mask> // Default custom attenuation function is a linear attenuation <mask> this._customAttenuationFunction = function (currentVolume, currentDistance, maxDistance, refDistance, rolloffFactor) { <mask> if (currentDistance < maxDistance) { <mask> return currentVolume * (1 - currentDistance / maxDistance); <mask> } <mask> else { <mask> return 0; <mask> } <mask> }; <mask> if (options) { <mask> this.autoplay = options.autoplay || false; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove } else if (event.detail) { </s> add } else if (event.detail) { </s> remove if (min === void 0) { min = 0; } if (max === void 0) { max = 1; } </s> add if (typeof min === "undefined") { min = 0; } if (typeof max === "undefined") { max = 1; } </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/Audio/babylon.sound.js
} else {
<mask> this._soundGain = this._audioEngine.audioContext.createGain(); <mask> this._soundGain.gain.value = this._volume; <mask> if (this.spatialSound) { <mask> this._createSpatialParameters(); <mask> } <mask> else { <mask> this._audioNode = this._soundGain; <mask> } <mask> this._scene.mainSoundTrack.AddSound(this); <mask> if (typeof (urlOrArrayBuffer) === "string") { <mask> BABYLON.Tools.LoadFile(urlOrArrayBuffer, function (data) { </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; } 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 } 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/Audio/babylon.sound.js
} else {
<mask> if (typeof (urlOrArrayBuffer) === "string") { <mask> BABYLON.Tools.LoadFile(urlOrArrayBuffer, function (data) { <mask> _this._soundLoaded(data); <mask> }, null, null, true); <mask> } <mask> else { <mask> if (urlOrArrayBuffer instanceof ArrayBuffer) { <mask> this._soundLoaded(urlOrArrayBuffer); <mask> } <mask> else { <mask> BABYLON.Tools.Error("Parameter must be a URL to the sound or an ArrayBuffer of the sound."); </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 try { </s> add try { </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/Audio/babylon.sound.js
} else {
<mask> } <mask> else { <mask> if (urlOrArrayBuffer instanceof ArrayBuffer) { <mask> this._soundLoaded(urlOrArrayBuffer); <mask> } <mask> else { <mask> BABYLON.Tools.Error("Parameter must be a URL to the sound or an ArrayBuffer of the sound."); <mask> } <mask> } <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 (parsedGeometry instanceof ArrayBuffer) { </s> add } else if (parsedGeometry instanceof ArrayBuffer) { </s> remove } else if (geometry instanceof BABYLON.Geometry.Primitives.Ground) { </s> add } else if (geometry instanceof BABYLON.Geometry.Primitives.Ground) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.sound.js
} else {
<mask> this._soundPanner.maxDistance = Number.MAX_VALUE; <mask> this._soundPanner.refDistance = 1; <mask> this._soundPanner.rolloffFactor = 1; <mask> this._soundPanner.panningModel = "HRTF"; <mask> } <mask> else { <mask> this._soundPanner.distanceModel = this.distanceModel; <mask> this._soundPanner.maxDistance = this.maxDistance; <mask> this._soundPanner.refDistance = this.refDistance; <mask> this._soundPanner.rolloffFactor = this.rolloffFactor; <mask> this._soundPanner.panningModel = this.panningModel; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove } else if (light instanceof BABYLON.SpotLight) { </s> add } else if (light instanceof BABYLON.SpotLight) { </s> remove } else if (light instanceof BABYLON.DirectionalLight) { </s> add } else if (light instanceof BABYLON.DirectionalLight) { </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 (amplitude === void 0) { amplitude = 1; } </s> add if (typeof amplitude === "undefined") { amplitude = 1; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.sound.js
try {
<mask> * @param time (optional) Start the sound after X seconds. Start immediately (0) by default. <mask> */ <mask> Sound.prototype.play = function (time) { <mask> if (this._isReadyToPlay) { <mask> try { <mask> var startTime = time ? this._audioEngine.audioContext.currentTime + time : 0; <mask> this._soundSource = this._audioEngine.audioContext.createBufferSource(); <mask> this._soundSource.buffer = this._audioBuffer; <mask> if (this.spatialSound) { <mask> this._soundPanner.setPosition(this._position.x, this._position.y, this._position.z); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove * Execute the next iteration. Must be called after the last iteration was finished. */ </s> add * Execute the next iteration. Must be called after the last iteration was finished. */ </s> remove if (offset === void 0) { offset = 0; } </s> add if (typeof offset === "undefined") { offset = 0; } </s> remove * Constroctor. * @param iterations the number of iterations. * @param _fn the function to run each iteration * @param _successCallback the callback that will be called upon succesful execution * @param offset starting offset. */ </s> add * Constroctor. * @param iterations the number of iterations. * @param _fn the function to run each iteration * @param _successCallback the callback that will be called upon succesful execution * @param offset starting offset. */ </s> remove if (timeout === void 0) { timeout = 0; } </s> add if (typeof timeout === "undefined") { timeout = 0; } </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/Audio/babylon.sound.js
} else {
<mask> this._soundPanner.coneOuterAngle = this._coneOuterAngle; <mask> this._soundPanner.coneOuterGain = this._coneOuterGain; <mask> if (this._connectedMesh) { <mask> this._updateDirection(); <mask> } <mask> else { <mask> this._soundPanner.setOrientation(this._localDirection.x, this._localDirection.y, this._localDirection.z); <mask> } <mask> } <mask> } <mask> this._soundSource.connect(this._audioNode); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (samplingMode === BABYLON.Texture.TRILINEAR_SAMPLINGMODE) { </s> add } else if (samplingMode === BABYLON.Texture.TRILINEAR_SAMPLINGMODE) { </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/Audio/babylon.sound.js
} catch (ex) {
<mask> this._soundSource.loop = this.loop; <mask> this.startTime = startTime; <mask> this._soundSource.start(startTime, this.startOffset % this._soundSource.buffer.duration); <mask> this._isPlaying = true; <mask> } <mask> catch (ex) { <mask> BABYLON.Tools.Error("Error while trying to play audio: " + this._name + ", " + ex.message); <mask> } <mask> } <mask> }; <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 } catch (ex) { </s> add } catch (ex) { </s> remove } else { </s> add } else { </s> remove } catch (e) { </s> add } catch (e) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.sound.js
meshToConnectTo.registerAfterWorldMatrixUpdate(function (connectedMesh) { return _this._onRegisterAfterWorldMatrixUpdate(connectedMesh); });
<mask> this.stop(); <mask> this.play(); <mask> } <mask> } <mask> meshToConnectTo.registerAfterWorldMatrixUpdate(function (connectedMesh) { return _this._onRegisterAfterWorldMatrixUpdate(connectedMesh); }); <mask> }; <mask> Sound.prototype._onRegisterAfterWorldMatrixUpdate = function (connectedMesh) { <mask> this.setPosition(connectedMesh.position); <mask> if (this._isDirectional && this._isPlaying) { <mask> this._updateDirection(); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </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 { </s> add } else { </s> remove } else if (size.width && !size.height) { </s> add } else if (size.width && !size.height) { </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/Audio/babylon.sound.js
<mask> return Sound; <mask> })(); <mask> BABYLON.Sound = Sound; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.sound.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.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/Audio/babylon.sound.js
} else {
<mask> sound.connectToSoundTrackAudioNode(this._trackGain); <mask> if (sound.soundTrackId) { <mask> if (sound.soundTrackId === -1) { <mask> this._scene.mainSoundTrack.RemoveSound(sound); <mask> } <mask> else { <mask> this._scene.soundTracks[sound.soundTrackId].RemoveSound(sound); <mask> } <mask> } <mask> this.soundCollection.push(sound); <mask> sound.soundTrackId = this.id; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else { </s> add } else { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Audio/babylon.soundtrack.js
<mask> return SoundTrack; <mask> })(); <mask> BABYLON.SoundTrack = SoundTrack; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.soundtrack.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.tools.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/Audio/babylon.soundtrack.js
} else {
<mask> skeleton.bones.push(this); <mask> if (parentBone) { <mask> this._parent = parentBone; <mask> parentBone.children.push(this); <mask> } <mask> else { <mask> this._parent = null; <mask> } <mask> this._updateDifferenceMatrix(); <mask> } <mask> // Members </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 (this._pausedDelay) { </s> add } else if (this._pausedDelay) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Bones/babylon.bone.js
} else {
<mask> }; <mask> Bone.prototype._updateDifferenceMatrix = function () { <mask> if (this._parent) { <mask> this._matrix.multiplyToRef(this._parent._absoluteTransform, this._absoluteTransform); <mask> } <mask> else { <mask> this._absoluteTransform.copyFrom(this._matrix); <mask> } <mask> this._absoluteTransform.invertToRef(this._invertedAbsoluteTransform); <mask> for (var index = 0; index < this.children.length; index++) { <mask> this.children[index]._updateDifferenceMatrix(); </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 } catch (e) { </s> add } catch (e) { // Silently fails... </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/Bones/babylon.bone.js
<mask> return Bone; <mask> })(); <mask> BABYLON.Bone = Bone; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.bone.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.tags.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/Bones/babylon.bone.js
//# sourceMappingURL=babylon.bone.js.map
<mask> })(); <mask> BABYLON.Bone = Bone; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.bone.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.bone.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/Bones/babylon.bone.js
} else {
<mask> var bone = this.bones[index]; <mask> var parentBone = bone.getParent(); <mask> if (parentBone) { <mask> bone.getLocalMatrix().multiplyToRef(parentBone.getWorldMatrix(), bone.getWorldMatrix()); <mask> } <mask> else { <mask> bone.getWorldMatrix().copyFrom(bone.getLocalMatrix()); <mask> } <mask> bone.getInvertedAbsoluteTransform().multiplyToArray(bone.getWorldMatrix(), this._transformMatrices, index * 16); <mask> } <mask> this._identity.copyToArray(this._transformMatrices, this.bones.length * 16); </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 (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/Bones/babylon.skeleton.js
<mask> return Skeleton; <mask> })(); <mask> BABYLON.Skeleton = Skeleton; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.skeleton.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.scene.js.map </s> add </s> remove //# sourceMappingURL=babylon.tags.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/Bones/babylon.skeleton.js
//# sourceMappingURL=babylon.skeleton.js.map
<mask> })(); <mask> BABYLON.Skeleton = Skeleton; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.skeleton.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.skeleton.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/Bones/babylon.skeleton.js
} else {
<mask> pitch: pitch, <mask> roll: roll <mask> }; <mask> return; <mask> } <mask> else { <mask> this.rotation.y += yaw - this._offsetOrientation.yaw; <mask> this.rotation.x += pitch - this._offsetOrientation.pitch; <mask> this.rotation.z += this._offsetOrientation.roll - roll; <mask> this._offsetOrientation.yaw = yaw; <mask> this._offsetOrientation.pitch = pitch; </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._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/Cameras/VR/babylon.oculusCamera.js
<mask> return OculusCamera; <mask> })(BABYLON.FreeCamera); <mask> BABYLON.OculusCamera = OculusCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.oculusCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.anaglyphCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.gamepadCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.deviceOrientationCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.touchCamera.js.map </s> add
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/VR/babylon.oculusCamera.js
//# sourceMappingURL=babylon.oculusCamera.js.map
<mask> })(BABYLON.FreeCamera); <mask> BABYLON.OculusCamera = OculusCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.oculusCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.oculusCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoysticksCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.deviceOrientationCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.gamepadCamera.js.map </s> add
[ "keep", "keep", "keep", "add" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/VR/babylon.oculusCamera.js
} else {
<mask> pitch: pitch, <mask> roll: roll <mask> }; <mask> return; <mask> } <mask> else { <mask> this.rotation.y += yaw - this._offsetOrientation.yaw; <mask> this.rotation.x += pitch - this._offsetOrientation.pitch; <mask> this.rotation.z += this._offsetOrientation.roll - roll; <mask> this._offsetOrientation.yaw = yaw; <mask> this._offsetOrientation.pitch = pitch; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/VR/babylon.oculusGamepadCamera.js
<mask> return OculusGamepadCamera; <mask> })(BABYLON.FreeCamera); <mask> BABYLON.OculusGamepadCamera = OculusGamepadCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.oculusGamepadCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.anaglyphCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.gamepadCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.oculusCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.deviceOrientationCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.touchCamera.js.map </s> add
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/VR/babylon.oculusGamepadCamera.js
} else {
<mask> this._beta = +evt.beta | 0; <mask> this._gamma = +evt.gamma | 0; <mask> if (this._gamma < 0) { <mask> this._gamma = 90 + this._gamma; <mask> } <mask> else { <mask> // Incline it in the correct angle. <mask> this._gamma = 270 - this._gamma; <mask> } <mask> this.rotation.x = this._gamma / 180.0 * Math.PI; <mask> this.rotation.y = -this._alpha / 180.0 * Math.PI; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove } else { </s> add } else { </s> remove if (cx === void 0) { cx = 0; } if (cy === void 0) { cy = 0; } if (numberOfSides === void 0) { numberOfSides = 32; } </s> add if (typeof cx === "undefined") { cx = 0; } if (typeof cy === "undefined") { cy = 0; } if (typeof numberOfSides === "undefined") { numberOfSides = 32; } </s> remove } else if (event.detail) { </s> add } else if (event.detail) { </s> remove if (timeout === void 0) { timeout = 0; } </s> add if (typeof timeout === "undefined") { timeout = 0; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/VR/babylon.vrDeviceOrientationCamera.js
<mask> return VRDeviceOrientationCamera; <mask> })(BABYLON.OculusCamera); <mask> BABYLON.VRDeviceOrientationCamera = VRDeviceOrientationCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.vrDeviceOrientationCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.webVRCamera.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/Cameras/VR/babylon.vrDeviceOrientationCamera.js
} else if (navigator.mozGetVRDevices) {
<mask> WebVRCamera.prototype.attachControl = function (element, noPreventDefault) { <mask> _super.prototype.attachControl.call(this, element, noPreventDefault); <mask> if (navigator.getVRDevices) { <mask> navigator.getVRDevices().then(this._getWebVRDevices); <mask> } <mask> else if (navigator.mozGetVRDevices) { <mask> navigator.mozGetVRDevices(this._getWebVRDevices); <mask> } <mask> }; <mask> WebVRCamera.prototype.detachControl = function (element) { <mask> _super.prototype.detachControl.call(this, element); </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 (document.mozCancelFullScreen) { </s> add } else if (document.mozCancelFullScreen) { </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/Cameras/VR/babylon.webVRCamera.js
<mask> return WebVRCamera; <mask> })(BABYLON.OculusCamera); <mask> BABYLON.WebVRCamera = WebVRCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.webVRCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.vrDeviceOrientationCamera.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/Cameras/VR/babylon.webVRCamera.js
<mask> return AnaglyphFreeCamera; <mask> })(BABYLON.FreeCamera); <mask> BABYLON.AnaglyphFreeCamera = AnaglyphFreeCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.anaglyphCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.gamepadCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.oculusCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.deviceOrientationCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.touchCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoysticksCamera.js.map </s> add
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.anaglyphCamera.js
} else if (event.detail) {
<mask> this._wheel = function (event) { <mask> var delta = 0; <mask> if (event.wheelDelta) { <mask> delta = event.wheelDelta / (_this.wheelPrecision * 40); <mask> } <mask> else if (event.detail) { <mask> delta = -event.detail / _this.wheelPrecision; <mask> } <mask> if (delta) <mask> _this.inertialRadiusOffset += delta; <mask> if (event.preventDefault) { </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 { </s> add } else {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.arcRotateCamera.js
// block the camera
<mask> this._pinchStart = function (event) { <mask> // save origin touch point <mask> pinchPointX1 = event.touches[0].clientX; <mask> pinchPointX2 = event.touches[1].clientX; <mask> // block the camera <mask> // if not it rotate around target during pinch <mask> pinchStarted = true; <mask> }; <mask> this._pinchMove = function (event) { <mask> // variable for new camera's radius </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove try { </s> add try { </s> remove } else { </s> add } else { </s> remove try { </s> add try { </s> remove try { </s> add try { </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/Cameras/babylon.arcRotateCamera.js
} else if (this.keysUp.indexOf(keyCode) !== -1) {
<mask> for (var index = 0; index < this._keys.length; index++) { <mask> var keyCode = this._keys[index]; <mask> if (this.keysLeft.indexOf(keyCode) !== -1) { <mask> this.inertialAlphaOffset -= 0.01; <mask> } <mask> else if (this.keysUp.indexOf(keyCode) !== -1) { <mask> this.inertialBetaOffset -= 0.01; <mask> } <mask> else if (this.keysRight.indexOf(keyCode) !== -1) { <mask> this.inertialAlphaOffset += 0.01; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.arcRotateCamera.js
} else if (this.keysRight.indexOf(keyCode) !== -1) {
<mask> this.inertialAlphaOffset -= 0.01; <mask> } <mask> else if (this.keysUp.indexOf(keyCode) !== -1) { <mask> this.inertialBetaOffset -= 0.01; <mask> } <mask> else if (this.keysRight.indexOf(keyCode) !== -1) { <mask> this.inertialAlphaOffset += 0.01; <mask> } <mask> else if (this.keysDown.indexOf(keyCode) !== -1) { <mask> this.inertialBetaOffset += 0.01; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.arcRotateCamera.js
} else if (this.keysDown.indexOf(keyCode) !== -1) {
<mask> this.inertialBetaOffset -= 0.01; <mask> } <mask> else if (this.keysRight.indexOf(keyCode) !== -1) { <mask> this.inertialAlphaOffset += 0.01; <mask> } <mask> else if (this.keysDown.indexOf(keyCode) !== -1) { <mask> this.inertialBetaOffset += 0.01; <mask> } <mask> } <mask> // Inertia <mask> if (this.inertialAlphaOffset != 0 || this.inertialBetaOffset != 0 || this.inertialRadiusOffset != 0) { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) { </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/Cameras/babylon.arcRotateCamera.js
} else {
<mask> if (meshesOrMinMaxVectorAndDistance.min === undefined) { <mask> meshesOrMinMaxVector = meshesOrMinMaxVectorAndDistance || this.getScene().meshes; <mask> meshesOrMinMaxVector = BABYLON.Mesh.MinMax(meshesOrMinMaxVector); <mask> distance = BABYLON.Vector3.Distance(meshesOrMinMaxVector.min, meshesOrMinMaxVector.max); <mask> } <mask> else { <mask> meshesOrMinMaxVector = meshesOrMinMaxVectorAndDistance; <mask> distance = meshesOrMinMaxVectorAndDistance.distance; <mask> } <mask> this.target = BABYLON.Mesh.Center(meshesOrMinMaxVector); <mask> this.maxZ = distance * 2; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove if (bounces === void 0) { bounces = 3; } if (bounciness === void 0) { bounciness = 2; } </s> add if (typeof bounces === "undefined") { bounces = 3; } if (typeof bounciness === "undefined") { bounciness = 2; } </s> remove } else { </s> add } else { </s> remove } else if (from instanceof BABYLON.Color3) { </s> add } else if (from instanceof BABYLON.Color3) { </s> remove if (power === void 0) { power = 2; } </s> add if (typeof power === "undefined") { power = 2; } </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; }
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.arcRotateCamera.js
<mask> return ArcRotateCamera; <mask> })(BABYLON.Camera); <mask> BABYLON.ArcRotateCamera = ArcRotateCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.arcRotateCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.targetCamera.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/Cameras/babylon.arcRotateCamera.js
//# sourceMappingURL=babylon.arcRotateCamera.js.map
<mask> })(BABYLON.Camera); <mask> BABYLON.ArcRotateCamera = ArcRotateCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.arcRotateCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.arcRotateCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.targetCamera.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/Cameras/babylon.arcRotateCamera.js
} else {
<mask> } <mask> var engine = this.getEngine(); <mask> if (this.mode === BABYLON.Camera.PERSPECTIVE_CAMERA) { <mask> check = this._cache.fov === this.fov && this._cache.aspectRatio === engine.getAspectRatio(this); <mask> } <mask> else { <mask> check = this._cache.orthoLeft === this.orthoLeft && this._cache.orthoRight === this.orthoRight && this._cache.orthoBottom === this.orthoBottom && this._cache.orthoTop === this.orthoTop && this._cache.renderWidth === engine.getRenderWidth() && this._cache.renderHeight === engine.getRenderHeight(); <mask> } <mask> return check; <mask> }; <mask> // Controls </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (!areIntersecting && currentIntersectionInProgress > -1 && action.trigger === BABYLON.ActionManager.OnIntersectionExitTrigger) { </s> add } else if (!areIntersecting && currentIntersectionInProgress > -1 && action.trigger === BABYLON.ActionManager.OnIntersectionExitTrigger) { </s> remove } else { </s> add } else { </s> remove if (useOverlay === void 0) { useOverlay = false; } </s> add if (typeof useOverlay === "undefined") { useOverlay = false; } </s> remove } else { </s> add } else { </s> remove } else if (dataType === 2) { </s> add } else if (dataType === 2) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.camera.js
if (typeof insertAt === "undefined") { insertAt = null; }
<mask> }; <mask> Camera.prototype._update = function () { <mask> }; <mask> Camera.prototype.attachPostProcess = function (postProcess, insertAt) { <mask> if (insertAt === void 0) { insertAt = null; } <mask> if (!postProcess.isReusable() && this._postProcesses.indexOf(postProcess) > -1) { <mask> BABYLON.Tools.Error("You're trying to reuse a post process not defined as reusable."); <mask> return 0; <mask> } <mask> if (insertAt == null || insertAt < 0) { </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 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 (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 } else { </s> add } else { </s> remove if (min === void 0) { min = 0; } if (max === void 0) { max = 1; } </s> add if (typeof min === "undefined") { min = 0; } if (typeof max === "undefined") { max = 1; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.camera.js
if (typeof atIndices === "undefined") { atIndices = null; }
<mask> this._postProcesses[result] = postProcess; <mask> return result; <mask> }; <mask> Camera.prototype.detachPostProcess = function (postProcess, atIndices) { <mask> if (atIndices === void 0) { atIndices = null; } <mask> var result = []; <mask> if (!atIndices) { <mask> var length = this._postProcesses.length; <mask> for (var i = 0; i < length; i++) { <mask> if (this._postProcesses[i] !== postProcess) { </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else { </s> add } else { </s> remove } else { </s> add } else { </s> remove if (cx === void 0) { cx = 0; } if (cy === void 0) { cy = 0; } if (numberOfSides === void 0) { numberOfSides = 32; } </s> add if (typeof cx === "undefined") { cx = 0; } if (typeof cy === "undefined") { cy = 0; } if (typeof numberOfSides === "undefined") { numberOfSides = 32; } </s> remove } else if (parsedAction.properties[i].name != "propertyPath") { </s> add } else if (parsedAction.properties[i].name != "propertyPath") { </s> remove if (insertAt === void 0) { insertAt = null; } </s> add if (typeof insertAt === "undefined") { insertAt = null; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.camera.js
} else {
<mask> delete this._postProcesses[i]; <mask> var index = this._postProcessesTakenIndices.indexOf(i); <mask> this._postProcessesTakenIndices.splice(index, 1); <mask> } <mask> } <mask> else { <mask> atIndices = (atIndices instanceof Array) ? atIndices : [atIndices]; <mask> for (i = 0; i < atIndices.length; i++) { <mask> var foundPostProcess = this._postProcesses[atIndices[i]]; <mask> if (foundPostProcess !== postProcess) { <mask> result.push(i); </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 } else if (texture instanceof BABYLON.RenderTargetTexture) { </s> add } else if (texture instanceof BABYLON.RenderTargetTexture) { </s> remove } else { </s> add } else { </s> remove } else if (material instanceof BABYLON.MultiMaterial) { </s> add } else if (material instanceof BABYLON.MultiMaterial) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.camera.js
<mask> for (var i = 0; i < this._postProcessesTakenIndices.length; ++i) { <mask> this._postProcesses[this._postProcessesTakenIndices[i]].dispose(this); <mask> } <mask> }; <mask> // Statics <mask> Camera.PERSPECTIVE_CAMERA = 0; <mask> Camera.ORTHOGRAPHIC_CAMERA = 1; <mask> return Camera; <mask> })(BABYLON.Node); <mask> BABYLON.Camera = Camera; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.camera.js.map </s> add </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 if (cx === void 0) { cx = 0; } if (cy === void 0) { cy = 0; } if (numberOfSides === void 0) { numberOfSides = 32; } </s> add if (typeof cx === "undefined") { cx = 0; } if (typeof cy === "undefined") { cy = 0; } if (typeof numberOfSides === "undefined") { numberOfSides = 32; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.camera.js
<mask> return Camera; <mask> })(BABYLON.Node); <mask> BABYLON.Camera = Camera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.camera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove // Statics </s> add </s> remove //# sourceMappingURL=babylon.light.js.map </s> add
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.camera.js
<mask> return DeviceOrientationCamera; <mask> })(BABYLON.FreeCamera); <mask> BABYLON.DeviceOrientationCamera = DeviceOrientationCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.deviceOrientationCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.anaglyphCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.gamepadCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.oculusCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.touchCamera.js.map </s> add </s> remove //# sourceMappingURL=babylon.virtualJoysticksCamera.js.map </s> add
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.deviceOrientationCamera.js
var vx = dx * this.cameraAcceleration * 2;
<mask> var targetZ = cameraTarget.position.z + Math.cos(radians) * this.radius; <mask> var dx = targetX - this.position.x; <mask> var dy = (cameraTarget.position.y + this.heightOffset) - this.position.y; <mask> var dz = (targetZ) - this.position.z; <mask> var vx = dx * this.cameraAcceleration * 2; //this is set to .05 <mask> var vy = dy * this.cameraAcceleration; <mask> var vz = dz * this.cameraAcceleration * 2; <mask> if (vx > this.maxCameraSpeed || vx < -this.maxCameraSpeed) { <mask> vx = vx < 1 ? -this.maxCameraSpeed : this.maxCameraSpeed; <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //Statics </s> add </s> remove } else { </s> add } else { </s> remove } else if (info.isLuminance) { </s> add } else if (info.isLuminance) { </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/Cameras/babylon.followCamera.js
<mask> return FollowCamera; <mask> })(BABYLON.TargetCamera); <mask> BABYLON.FollowCamera = FollowCamera; <mask> })(BABYLON || (BABYLON = {})); <mask> //# sourceMappingURL=babylon.followCamera.js.map </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove //# sourceMappingURL=babylon.freeCamera.js.map </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;
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.followCamera.js
} else {
<mask> var offsetY; <mask> if (!engine.isPointerLock) { <mask> offsetX = evt.clientX - previousPosition.x; <mask> offsetY = evt.clientY - previousPosition.y; <mask> } <mask> else { <mask> offsetX = evt.movementX || evt.mozMovementX || evt.webkitMovementX || evt.msMovementX || 0; <mask> offsetY = evt.movementY || evt.mozMovementY || evt.webkitMovementY || evt.msMovementY || 0; <mask> } <mask> _this.cameraRotation.y += offsetX / _this.angularSensibility; <mask> _this.cameraRotation.x += offsetY / _this.angularSensibility; </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (event.detail) { </s> add } else if (event.detail) { </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/Cameras/babylon.freeCamera.js
} else {
<mask> FreeCamera.prototype._collideWithWorld = function (velocity) { <mask> var globalPosition; <mask> if (this.parent) { <mask> globalPosition = BABYLON.Vector3.TransformCoordinates(this.position, this.parent.getWorldMatrix()); <mask> } <mask> else { <mask> globalPosition = this.position; <mask> } <mask> globalPosition.subtractFromFloatsToRef(0, this.ellipsoid.y, 0, this._oldPosition); <mask> this._collider.radius = this.ellipsoid; <mask> this.getScene()._getNewPosition(this._oldPosition, velocity, this._collider, 3, this._newPosition); </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 (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </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/Cameras/babylon.freeCamera.js
} else if (this.keysUp.indexOf(keyCode) !== -1) {
<mask> var keyCode = this._keys[index]; <mask> var speed = this._computeLocalCameraSpeed(); <mask> if (this.keysLeft.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(-speed, 0, 0); <mask> } <mask> else if (this.keysUp.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(0, 0, speed); <mask> } <mask> else if (this.keysRight.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(speed, 0, 0); <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.freeCamera.js
} else if (this.keysRight.indexOf(keyCode) !== -1) {
<mask> this._localDirection.copyFromFloats(-speed, 0, 0); <mask> } <mask> else if (this.keysUp.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(0, 0, speed); <mask> } <mask> else if (this.keysRight.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(speed, 0, 0); <mask> } <mask> else if (this.keysDown.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(0, 0, -speed); <mask> } </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) {
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/edcbda493d762fc8ea70d9f619197c04976ad87e
Babylon/Cameras/babylon.freeCamera.js
} else if (this.keysDown.indexOf(keyCode) !== -1) {
<mask> this._localDirection.copyFromFloats(0, 0, speed); <mask> } <mask> else if (this.keysRight.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(speed, 0, 0); <mask> } <mask> else if (this.keysDown.indexOf(keyCode) !== -1) { <mask> this._localDirection.copyFromFloats(0, 0, -speed); <mask> } <mask> this.getViewMatrix().invertToRef(this._cameraTransformMatrix); <mask> BABYLON.Vector3.TransformNormalToRef(this._localDirection, this._cameraTransformMatrix, this._transformedDirection); <mask> this.cameraDirection.addInPlace(this._transformedDirection); </s> Update after project rebuild Former-commit-id: a2d5c6a94ad4c31a48c189703e1214d6166528bf </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> add } else if (this.keysUp.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> add } else if (this.keysRight.indexOf(keyCode) !== -1) { </s> remove } else if (this.keysDown.indexOf(keyCode) !== -1) { </s> add } else if (this.keysDown.indexOf(keyCode) !== -1) { </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/Cameras/babylon.freeCamera.js