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
// Shows or hides edit swatches button depending on if there are saved swatches function setEditButtonVisibility(enableButton: boolean) { if (enableButton) { butEdit = Button.CreateSimpleButton("butEdit", "Edit Swatches");
<mask> } <mask> <mask> } <mask> <mask> function setEditButton(enableButton: boolean) { <mask> if (!enableButton) { <mask> var butEdit = Button.CreateSimpleButton("butEdit", "Edit Swatches"); <mask> butEdit.width = ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
pickerPanel.removeControl(butEdit);
<mask> }); <mask> pickerPanel.addControl(butEdit, 1, 0); <mask> } <mask> else { <mask> // pickerPanel.removeControl(butEdit); <mask> } <mask> } <mask> <mask> // Passes last chose...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
// Called when the user hits the limit of saved colors in the drawer. function DisableButton(button: Button) { button.color = buttonDisabledColor; button.background = buttonDisabledBackgroundColor; }
<mask> } <mask> <mask> // Passes last chosen color back to scene and kills dialog by removing from AdvancedDynamicTexture <mask> function ClosePicker(color: string) { <mask> if (options.savedColors && options.savedColors.length > 0) { <mask> ...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
if (options.savedColors) { dialogContainer.height = containerSize; var topRow = parseInt(options.pickerHeight) / parseInt(containerSize); dialogContainer.addRowDefinition(topRow, false); dialogContainer.addRowDefinition(1.0 - topRow, false)...
<mask> // Dialogue menu container which will contain both the main dialogue window and the swatch drawer which opens once a color is saved. <mask> var dialogContainer = new Grid(); <mask> dialogContainer.name = "Dialog Container"; <mask> dialogContainer.width = option...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
dialogContainer.height = options.pickerHeight;
<mask> if (options.savedColors && options.savedColors.length > 0) { <mask> UpdateDialogSize(dialogContainer); <mask> } <mask> else { <mask> var int = options.pickerHeight.split("px"); <mask> dialogContainer.height = parseInt(int[0...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
UpdateValues(value, picker.name);
<mask> activeField = picker.name!; <mask> }); <mask> picker.onValueChangedObservable.add(function(value) { // value is a color3 <mask> if (activeField == picker.name) { <mask> UpdateValues(value); <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
UpdateValues(revertColor, currentSwatch.name!);
<mask> currentSwatch.height = "60px"; <mask> currentSwatch.thickness = 0; <mask> currentSwatch.onPointerClickObservable.add(() => { <mask> var revertColor = Color3.FromHexString(currentSwatch.background); <mask> UpdateValues(revertColor); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
<mask> } <mask> }; <mask> butSave.onPointerClickObservable.add(() => { <mask> if (options.savedColors) { <mask> console.log("savedColors Length: " + options.savedColors.length); <mask> rowCount ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
setEditButtonVisibility(true);
<mask> if (options.savedColors) { <mask> console.log("savedColors Length: " + options.savedColors.length); <mask> rowCount = Math.ceil(options.savedColors.length / options.numSwatchesPerLine!); <mask> if (options.savedColors...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
setEditButtonVisibility(true);
<mask> } <mask> } <mask> }); <mask> if (options.savedColors.length > 0) { <mask> setEditButton(true); <mask> } <mask> pickerSwatchesButtons.addControl(butSave, 0, 1); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
UpdateValues(Color3.FromHexString(newHexValue), hexVal.name);
<mask> } <mask> lastVal = hexVal.text; <mask> newHexValue = "#" + newHexValue; <mask> if (activeField == hexVal.name) { <mask> UpdateValues(Color3.FromHexString(newHexValue)); <mask> } <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/72fe59c2e479483872939f5d391cc3f61d8026d1
gui/src/2D/controls/colorpicker.ts
var nextOutputConversion: any = {
<mask> return; <mask> } <mask> <mask> var outputBufferOffset = 0; <mask> var getNextOutputValue: () => any = { <mask> "position": () => { <mask> var value = Vector3.FromArray(outputData, outputBufferO...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
loaders/src/glTF/2.0/babylon.glTFLoader.ts
var uniformBuffers = new Array<string>();
<mask> "vClipPlane", "diffuseMatrix", <mask> "topColor", "bottomColor", "offset", "smoothness" <mask> ]; <mask> var samplers = ["diffuseSampler"]; <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/gradient/babylon.gradientMaterial.ts
var uniformBuffers = new Array<string>()
<mask> <mask> var samplers = ["diffuseSampler", <mask> "noiseTexture" <mask> ]; <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper.PrepareUniformsAndSamplersList(<EffectCreationOptions>{ <mask> un...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/lava/babylon.lavaMaterial.ts
this._renderTargets.push(<RenderTargetTexture>this.reflectionTexture);
<mask> this.getRenderTargetTextures = (): SmartArray<RenderTargetTexture> => { <mask> this._renderTargets.reset(); <mask> <mask> if (StandardMaterial.ReflectionTextureEnabled && this.reflectionTexture && this.reflectionTexture.isRenderTarget) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/legacyPBR/babylon.legacyPBRMaterial.ts
this._renderTargets.push(<RenderTargetTexture>this.refractionTexture);
<mask> this._renderTargets.push(this.reflectionTexture); <mask> } <mask> <mask> if (StandardMaterial.RefractionTextureEnabled && this.refractionTexture && this.refractionTexture.isRenderTarget) { <mask> this._renderTargets.push(this.refractio...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/legacyPBR/babylon.legacyPBRMaterial.ts
if ((<any>defines)["SPECULARTERM"]) {
<mask> <mask> LegacyPBRMaterial._scaledAlbedo.scaleToRef(light.intensity, LegacyPBRMaterial._scaledAlbedo); <mask> light._uniformBuffer.updateColor4(useUbo ? "vLightDiffuse" : "vLightDiffuse" + lightIndex, LegacyPBRMaterial._scaledAlbedo, usePhysicalLightFalloff ? light.radius : ligh...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/legacyPBR/babylon.legacyPBRMaterial.ts
var onCompiled = function(effect: Effect) {
<mask> defines: this._defines, <mask> maxSimultaneousLights: this.maxSimultaneousLights <mask> }); <mask> <mask> var onCompiled = function(effect) { <mask> if (this.onCompiled) { <mask> this.onCo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/legacyPBR/babylon.legacyPBRMaterial.ts
var uniformBuffers = new Array<string>()
<mask> "mBones", <mask> "vClipPlane", "diffuseMatrix" <mask> ]; <mask> var samplers = ["diffuseSampler"]; <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper.PrepareUniformsAndSamplersList(<EffectCre...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/normal/babylon.normalMaterial.ts
var samplers = new Array<string>();
<mask> "vFogInfos", "vFogColor", "pointSize", "alpha", <mask> "mBones", <mask> "vClipPlane" <mask> ]; <mask> var samplers = []; <mask> <mask> var unifor...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/shadowOnly/babylon.shadowOnlyMaterial.ts
var uniformBuffers = new Array<string>()
<mask> "vClipPlane" <mask> ]; <mask> var samplers = []; <mask> <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper.PrepareUniformsAndSamplersList(<EffectCreationOptions>{ <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/shadowOnly/babylon.shadowOnlyMaterial.ts
var uniformBuffers = new Array<string>()
<mask> "mBones", <mask> "vClipPlane", "diffuseMatrix" <mask> ]; <mask> var samplers = ["diffuseSampler"]; <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper.PrepareUniformsAn...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/simple/babylon.simpleMaterial.ts
var uniformBuffers = new Array<string>()
<mask> var samplers = ["textureSampler", "diffuse1Sampler", "diffuse2Sampler", "diffuse3Sampler", <mask> "bump1Sampler", "bump2Sampler", "bump3Sampler" <mask> ]; <mask> <mask> var uniformBuffers = []; <mask> <mask> MaterialHelp...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/terrain/babylon.terrainMaterial.ts
(<any>defines)[textureDefines[i]] = true;
<mask> if (textures[i]) { <mask> if (!textures[i].isReady()) { <mask> return false; <mask> } else { <mask> defines[textureDefines[i]] = true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/triPlanar/babylon.triPlanarMaterial.ts
(<any>defines)[textureDefines[i]] = true;
<mask> if (textures[i]) { <mask> if (!textures[i].isReady()) { <mask> return false; <mask> } else { <mask> defines[textureDefines[i]] = true; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/triPlanar/babylon.triPlanarMaterial.ts
var uniformBuffers = new Array<string>()
<mask> var samplers = ["diffuseSamplerX", "diffuseSamplerY", "diffuseSamplerZ", <mask> "normalSamplerX", "normalSamplerY", "normalSamplerZ" <mask> ]; <mask> <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper.PrepareUn...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/triPlanar/babylon.triPlanarMaterial.ts
"target": "es5", "noImplicitAny": true
<mask> { <mask> "compilerOptions": { <mask> "experimentalDecorators": true, <mask> "module": "commonjs", <mask> "target": "es5" <mask> } <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove "target": "es5" ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/tsconfig.json
var uniformBuffers = new Array<string>()
<mask> var samplers = ["normalSampler", <mask> // Water <mask> "refractionSampler", "reflectionSampler" <mask> ]; <mask> var uniformBuffers = []; <mask> <mask> MaterialHelper.PrepareUniformsAndSamplersList(<E...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/water/babylon.waterMaterial.ts
var clipPlane: Plane = null; var savedViewMatrix: Matrix;
<mask> this._reflectionRTT.wrapV = BABYLON.Texture.MIRROR_ADDRESSMODE; <mask> this._reflectionRTT.ignoreCameraViewport = true; <mask> <mask> var isVisible: boolean; <mask> var clipPlane = null; <mask> var savedViewMatrix; <mask> var mirrorM...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
materialsLibrary/src/water/babylon.waterMaterial.ts
"target": "es5", "noImplicitAny": true
<mask> { <mask> "compilerOptions": { <mask> "experimentalDecorators": true, <mask> "module": "commonjs", <mask> "target": "es5" <mask> } <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
postProcessLibrary/src/tsconfig.json
"target": "es5", "noImplicitAny": true
<mask> { <mask> "compilerOptions": { <mask> "experimentalDecorators": true, <mask> "module": "commonjs", <mask> "target": "es5" <mask> } <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
proceduralTexturesLibrary/src/tsconfig.json
"target": "es5", "noImplicitAny": true
<mask> { <mask> "compilerOptions": { <mask> "experimentalDecorators": true, <mask> "module": "commonjs", <mask> "target": "es5" <mask> } <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
serializers/src/tsconfig.json
public static Triggers: { [key: string]: number} = {};
<mask> public static get OnKeyUpTrigger(): number { <mask> return ActionManager._OnKeyUpTrigger; <mask> } <mask> <mask> public static Triggers = {}; <mask> <mask> // Members <mask> public actions = new Array<Action>(); <mask> <mask> public hoverCu...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
children: new Array(),
<mask> } <mask> <mask> public serialize(name: string): any { <mask> var root = { <mask> children: [], <mask> name: name, <mask> type: 3, // Root node <mask> properties: [] // Empty for root but required <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
properties: new Array() // Empty for root but required
<mask> var root = { <mask> children: [], <mask> name: name, <mask> type: 3, // Root node <mask> properties: [] // Empty for root but required <mask> }; <mask> <mask> for (var i = 0; i < this.actions.length; i++)...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
children: new Array(),
<mask> <mask> for (var i = 0; i < this.actions.length; i++) { <mask> var triggerObject = { <mask> type: 0, // Trigger <mask> children: [], <mask> name: ActionManager.GetTriggerName(this.actions[i].trigger), <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
properties: new Array()
<mask> var triggerObject = { <mask> type: 0, // Trigger <mask> children: [], <mask> name: ActionManager.GetTriggerName(this.actions[i].trigger), <mask> properties: [] <mask> }; <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
var newInstance: Object = Tools.Instantiate(name);
<mask> object.actionManager = actionManager; <mask> <mask> // instanciate a new object <mask> var instanciate = (name: any, params: Array<any>): any => { <mask> var newInstance: Object = Object.create(BABYLON[name].prototype); <mask> newInst...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
value = (<any>ValueCondition)[value];
<mask> else if (name === "sound") <mask> value = scene.getSoundByName(value); <mask> else if (name !== "propertyPath") { <mask> if (parsedAction.type === 2 && name === "operator") <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
triggerParams = { trigger: (<any>ActionManager)[trigger.name], parameter: value };
<mask> if (value._meshId) { <mask> value.mesh = scene.getMeshByID(value._meshId); <mask> } <mask> <mask> triggerParams = { trigger: BABYLON.ActionManager[trigger.name], parameter: value }; <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
triggerParams = (<any>ActionManager)[trigger.name];
<mask> <mask> triggerParams = { trigger: BABYLON.ActionManager[trigger.name], parameter: value }; <mask> } <mask> else <mask> triggerParams = BABYLON.ActionManager[trigger.name]; <mask> <mask> for (var j = 0; j < trigger.ch...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Actions/babylon.actionManager.ts
constructor(scene: Scene, public target: any, public fromFrame: number = 0, public toFrame: number = 100, public loopAnimation: boolean = false, speedRatio: number = 1.0, public onAnimationEnd?: () => void, animations?: any) {
<mask> } <mask> this._speedRatio = value; <mask> } <mask> <mask> constructor(scene: Scene, public target, public fromFrame: number = 0, public toFrame: number = 100, public loopAnimation: boolean = false, speedRatio: number = 1.0, public onAnimationEnd?, animations?: any) {...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Animations/babylon.animatable.ts
private _offsetsCache: {[key: string]: any} = {}; private _highLimitsCache: {[key: string]: any} = {};
<mask> private _animation: Animation; <mask> private _target: any; <mask> <mask> private _originalBlendValue: any; <mask> private _offsetsCache = {}; <mask> private _highLimitsCache = {}; <mask> private _stopped = false; <mask> private _blendingFactor = 0...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Animations/babylon.runtimeAnimation.ts
private _interpolate(currentFrame: number, repeatCount: number, loopMode: number, offsetValue?: any, highLimitValue?: any) {
<mask> <mask> return value; <mask> } <mask> <mask> private _interpolate(currentFrame: number, repeatCount: number, loopMode: number, offsetValue?, highLimitValue?) { <mask> if (loopMode === Animation.ANIMATIONLOOPMODE_CONSTANT && repeatCount > 0) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Animations/babylon.runtimeAnimation.ts
private _registerFunc: () => void
<mask> private _webAudioAnalyser: AnalyserNode; <mask> private _debugCanvas: HTMLCanvasElement; <mask> private _debugCanvasContext: CanvasRenderingContext2D; <mask> private _scene: Scene; <mask> private _registerFunc; <mask> private _audioEngine: AudioEngine; <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Audio/babylon.analyser.ts
constructor(name: string, urlOrArrayBuffer: any, scene: Scene, readyToPlayCallback?: () => void, options?: any) {
<mask> * @param urlOrArrayBuffer Url to the sound to load async or ArrayBuffer <mask> * @param readyToPlayCallback Provide a callback function if you'd like to load your code once the sound is ready to be played <mask> * @param options Objects to provide with the current available options: a...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Audio/babylon.sound.ts
public updateOptions(options: any) {
<mask> this._isReadyToPlay = true; <mask> } <mask> } <mask> <mask> public updateOptions(options) { <mask> if (options) { <mask> this.loop = options.loop || this.loop; <mask> this.maxDistance = options.maxDistance || this.ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Audio/babylon.sound.ts
private _options: any;
<mask> public id: number = -1; <mask> public soundCollection: Array<Sound>; <mask> private _isMainTrack: boolean = false; <mask> private _connectedAnalyser: Analyser; <mask> private _options; <mask> private _isInitialized = false; <mask> <mask> constructo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Audio/babylon.soundtrack.ts
private _getAngleDiff(ang1: number, ang2: number):number {
<mask> } <mask> <mask> } <mask> <mask> private _getAngleDiff(ang1, ang2):number { <mask> <mask> var angDiff = ang2 - ang1; <mask> angDiff %= Math.PI*2; <mask> <mask> if(angDiff > Math.PI){ </s> Monstro refactor: Enabling noImplic...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Bones/babylon.boneLookController.ts
private _getAngleBetween(ang1: number, ang2: number):number {
<mask> <mask> return angDiff; <mask> } <mask> <mask> private _getAngleBetween(ang1, ang2):number { <mask> <mask> ang1 %= (2 * Math.PI); <mask> ang1 = (ang1 < 0) ? ang1 + (2 * Math.PI) : ang1; <mask> <mask> ang2 %= (2 * Math.PI); ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Bones/babylon.boneLookController.ts
private _isAngleBetween(ang: number,ang1: number, ang2: number):boolean {
<mask> <mask> return ab; <mask> } <mask> <mask> private _isAngleBetween(ang, ang1, ang2):boolean { <mask> <mask> ang %= (2 * Math.PI); <mask> ang = (ang < 0) ? ang + (2 * Math.PI) : ang; <mask> ang1 %= (2 * Math.PI); <mask> ang1 = ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Bones/babylon.boneLookController.ts
public animations: Array<Animation>;
<mask> public dimensionsAtRest: Vector3; <mask> public needInitialSkinMatrix = false; <mask> <mask> private _scene: Scene; <mask> private _isDirty = true; <mask> private _transformMatrices: Float32Array; <mask> private _meshesWithPoseMatrix = new Array<AbstractMes...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Bones/babylon.skeleton.ts
var boneDict: {[key: string]: Bone} = {};
<mask> var ret = true; <mask> var frameOffset = this._getHighestAnimationFrame() + 1; <mask> <mask> // make a dictionary of source skeleton's bones, so exact same order or doublely nested loop is not required <mask> var boneDict = {}; <mask> var sourceB...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Bones/babylon.skeleton.ts
(<any>CameraInputTypes)["ArcRotateCameraGamepadInput"] = ArcRotateCameraGamepadInput;
<mask> return "gamepad"; <mask> } <mask> } <mask> <mask> CameraInputTypes["ArcRotateCameraGamepadInput"] = ArcRotateCameraGamepadInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraGamepadInput.ts
private _keys = new Array<number>();
<mask> module BABYLON { <mask> export class ArcRotateCameraKeyboardMoveInput implements ICameraInput<ArcRotateCamera> { <mask> camera: ArcRotateCamera; <mask> private _keys = []; <mask> <mask> @serialize() <mask> public keysUp = [38]; <mask> <mask> @seriali...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraKeyboardMoveInput.ts
(<any>CameraInputTypes)["ArcRotateCameraKeyboardMoveInput"] = ArcRotateCameraKeyboardMoveInput;
<mask> return "keyboard"; <mask> } <mask> } <mask> <mask> CameraInputTypes["ArcRotateCameraKeyboardMoveInput"] = ArcRotateCameraKeyboardMoveInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> r...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraKeyboardMoveInput.ts
(<any>CameraInputTypes)["ArcRotateCameraMouseWheelInput"] = ArcRotateCameraMouseWheelInput;
<mask> return "mousewheel"; <mask> } <mask> } <mask> <mask> CameraInputTypes["ArcRotateCameraMouseWheelInput"] = ArcRotateCameraMouseWheelInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraMouseWheelInput.ts
(<any>CameraInputTypes)["ArcRotateCameraPointersInput"] = ArcRotateCameraPointersInput;
<mask> return "pointers"; <mask> } <mask> } <mask> <mask> CameraInputTypes["ArcRotateCameraPointersInput"] = ArcRotateCameraPointersInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraPointersInput.ts
private _deviceOrientationHandler: () => void;
<mask> private _gamma = 0; <mask> private _dirty = false; <mask> <mask> private _offsetOrientation: { yaw: number; pitch: number; roll: number }; <mask> private _deviceOrientationHandler; <mask> <mask> constructor() { <mask> this._deviceOrientationHandler = ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraVRDeviceOrientationInput.ts
(<any>CameraInputTypes)["ArcRotateCameraVRDeviceOrientationInput"] = ArcRotateCameraVRDeviceOrientationInput;
<mask> return "VRDeviceOrientation"; <mask> } <mask> } <mask> <mask> CameraInputTypes["ArcRotateCameraVRDeviceOrientationInput"] = ArcRotateCameraVRDeviceOrientationInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b1022...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.arcRotateCameraVRDeviceOrientationInput.ts
this._screenOrientationAngle = (window.orientation !== undefined ? +window.orientation : (window.screen.orientation && (<any>window.screen.orientation)['angle'] ? (<any>window.screen.orientation).angle : 0));
<mask> this._orientationChanged(); <mask> } <mask> <mask> private _orientationChanged = () => { <mask> this._screenOrientationAngle = (window.orientation !== undefined ? +window.orientation : (window.screen.orientation && window.screen.orientation['angle'] ? (<any>window.sc...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraDeviceOrientationInput.ts
(<any>CameraInputTypes)["FreeCameraDeviceOrientationInput"] = FreeCameraDeviceOrientationInput;
<mask> return "deviceOrientation"; <mask> } <mask> } <mask> <mask> CameraInputTypes["FreeCameraDeviceOrientationInput"] = FreeCameraDeviceOrientationInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c <...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraDeviceOrientationInput.ts
(<any>CameraInputTypes)["FreeCameraGamepadInput"] = FreeCameraGamepadInput;
<mask> return "gamepad"; <mask> } <mask> } <mask> <mask> CameraInputTypes["FreeCameraGamepadInput"] = FreeCameraGamepadInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove CameraInputType...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraGamepadInput.ts
private _keys = new Array<number>();
<mask> module BABYLON { <mask> export class FreeCameraKeyboardMoveInput implements ICameraInput<FreeCamera> { <mask> camera: FreeCamera; <mask> private _keys = []; <mask> private _onCanvasBlurObserver: Observer<Engine>; <mask> private _onKeyboardObserver: Observer<KeyboardInfo>...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraKeyboardMoveInput.ts
(<any>CameraInputTypes)["FreeCameraKeyboardMoveInput"] = FreeCameraKeyboardMoveInput;
<mask> return "keyboard"; <mask> } <mask> } <mask> <mask> CameraInputTypes["FreeCameraKeyboardMoveInput"] = FreeCameraKeyboardMoveInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraKeyboardMoveInput.ts
(<any>CameraInputTypes)["FreeCameraMouseInput"] = FreeCameraMouseInput;
<mask> return "mouse"; <mask> } <mask> } <mask> <mask> CameraInputTypes["FreeCameraMouseInput"] = FreeCameraMouseInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraMouseInput.ts
private _pointerPressed = new Array<number>();
<mask> <mask> private _offsetX: number = null; <mask> private _offsetY: number = null; <mask> private _pointerCount: number = 0; <mask> private _pointerPressed = []; <mask> private _pointerInput: (p: PointerInfo, s: EventState) => void; <mask> private _observer: O...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraTouchInput.ts
var previousPosition: {x: number, y: number};
<mask> @serialize() <mask> public touchMoveSensibility: number = 250.0; <mask> <mask> attachControl(element: HTMLElement, noPreventDefault?: boolean) { <mask> var previousPosition; <mask> <mask> if (this._pointerInput === undefined) { <mask> this...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraTouchInput.ts
(<any>CameraInputTypes)["FreeCameraTouchInput"] = FreeCameraTouchInput;
<mask> return "touch"; <mask> } <mask> } <mask> <mask> CameraInputTypes["FreeCameraTouchInput"] = FreeCameraTouchInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraTouchInput.ts
(<any>CameraInputTypes)["FreeCameraVirtualJoystickInput"] = FreeCameraVirtualJoystickInput;
<mask> return "virtualJoystick"; <mask> } <mask> } <mask> <mask> CameraInputTypes["FreeCameraVirtualJoystickInput"] = FreeCameraVirtualJoystickInput; <mask> } </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-id: 6bcd88e2e2b0d5353a25b10225d4ee25264ddc5c </s...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/Inputs/babylon.freeCameraVirtualJoystickInput.ts
private _position: Vector3;
<mask> module BABYLON { <mask> export class VRExperienceHelper { <mask> private _scene: BABYLON.Scene; <mask> private _position; <mask> private _btnVR: HTMLButtonElement; <mask> <mask> // Can the system support WebVR, even if a headset isn't plugged in? <mask> privat...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.vrExperienceHelper.ts
private _onKeyDown: (event: KeyboardEvent) => void;
<mask> private _webVRCamera: WebVRFreeCamera; <mask> private _vrDeviceOrientationCamera: VRDeviceOrientationFreeCamera; <mask> private _deviceOrientationCamera: DeviceOrientationCamera; <mask> <mask> private _onKeyDown; <mask> private _onVrDisplayPresentChange: any...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.vrExperienceHelper.ts
public onControllerMeshLoaded: (controller: WebVRController) => void;
<mask> private _onVRRequestPresentComplete: (success: boolean) => void; <mask> <mask> public onEnteringVR: () => void; <mask> public onExitingVR: () => void; <mask> public onControllerMeshLoaded: (WebVRController) => void; <mask> <mask> constructo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.vrExperienceHelper.ts
this._onKeyDown = (event: KeyboardEvent) => {
<mask> <mask> document.body.appendChild(this._btnVR); <mask> <mask> // Exiting VR mode using 'ESC' key on desktop <mask> this._onKeyDown = (event) => { <mask> if (event.keyCode === 27 && this.isInVRMode()) { <mask> this.exitVR(); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.vrExperienceHelper.ts
declare var HMDVRDevice: any; declare var VRDisplay: any; declare var VRFrameData: any;
<mask> declare var HMDVRDevice; <mask> declare var VRDisplay; <mask> declare var VRFrameData; <mask> <mask> module BABYLON { <mask> /** <mask> * This is a copy of VRPose. <mask> * IMPORTANT!! The data is right-hand data. </s> Monstro refactor: Enabling noImplicitAny on all repo Former-commit-i...
[ "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.webVRCamera.ts
updateFromDevice(poseData: DevicePose): void;
<mask> devicePosition?: Vector3; <mask> deviceRotationQuaternion: Quaternion; <mask> rawPose: DevicePose; <mask> deviceScaleFactor: number; <mask> updateFromDevice(poseData: DevicePose); <mask> } <mask> <mask> export interface WebVROptions { <mask> track...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.webVRCamera.ts
public _vrDevice: any = null;
<mask> defaultLightingOnControllers?: boolean; // creating a default HemiLight only on controllers <mask> } <mask> <mask> export class WebVRFreeCamera extends FreeCamera implements PoseControlled { <mask> public _vrDevice = null; <mask> public rawPose: DevicePose = null; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.webVRCamera.ts
private _frameData: any;
<mask> <mask> private _oldSize: BABYLON.Size; <mask> private _oldHardwareScaleFactor: number; <mask> <mask> private _frameData; <mask> <mask> private _quaternionCache: Quaternion; <mask> <mask> private _positionOffset: Vector3 = Vector3.Zero(); <mask> </s> Monstro...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.webVRCamera.ts
public deviceRotationQuaternion: Quaternion;
<mask> <mask> protected _descendants: Array<Node> = []; <mask> <mask> public devicePosition = Vector3.Zero(); <mask> public deviceRotationQuaternion; <mask> public deviceScaleFactor: number = 1; <mask> <mask> public controllers: Array<WebVRController> = []; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/VR/babylon.webVRCamera.ts
public lowerAlphaLimit: number = null;
<mask> @serialize() <mask> public inertialRadiusOffset = 0; <mask> <mask> @serialize() <mask> public lowerAlphaLimit = null; <mask> <mask> @serialize() <mask> public upperAlphaLimit = null; <mask> <mask> @serialize() </s> Monstro refactor: Enabling n...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
public upperAlphaLimit: number = null;
<mask> @serialize() <mask> public lowerAlphaLimit = null; <mask> <mask> @serialize() <mask> public upperAlphaLimit = null; <mask> <mask> @serialize() <mask> public lowerBetaLimit = 0.01; <mask> <mask> @serialize() </s> Monstro refactor: Enabling noIm...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
public lowerRadiusLimit: number = null;
<mask> @serialize() <mask> public upperBetaLimit = Math.PI; <mask> <mask> @serialize() <mask> public lowerRadiusLimit = null; <mask> <mask> @serialize() <mask> public upperRadiusLimit = null; <mask> <mask> @serialize() </s> Monstro refactor: Enabling...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
public upperRadiusLimit: number = null;
<mask> @serialize() <mask> public lowerRadiusLimit = null; <mask> <mask> @serialize() <mask> public upperRadiusLimit = null; <mask> <mask> @serialize() <mask> public inertialPanningX: number = 0; <mask> <mask> @serialize() </s> Monstro refactor: Enab...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
public focusOn(meshesOrMinMaxVectorAndDistance: AbstractMesh[] | { min: Vector3, max: Vector3, distance: number }, doNotUpdateMaxZ = false): void { var meshesOrMinMaxVector: { min: Vector3, max: Vector3}; var distance: number;
<mask> <mask> this.focusOn({ min: minMaxVector.min, max: minMaxVector.max, distance: distance }, doNotUpdateMaxZ); <mask> } <mask> <mask> public focusOn(meshesOrMinMaxVectorAndDistance, doNotUpdateMaxZ = false): void { <mask> var meshesOrMinMaxVector; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
if ((<any>meshesOrMinMaxVectorAndDistance).min === undefined) { // meshes var meshes = (<AbstractMesh[]>meshesOrMinMaxVectorAndDistance) || this.getScene().meshes; meshesOrMinMaxVector = Mesh.MinMax(meshes);
<mask> public focusOn(meshesOrMinMaxVectorAndDistance, doNotUpdateMaxZ = false): void { <mask> var meshesOrMinMaxVector; <mask> var distance; <mask> <mask> if (meshesOrMinMaxVectorAndDistance.min === undefined) { // meshes <mask> meshesOrMinMaxVector = ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
var minMaxVectorAndDistance = <any>meshesOrMinMaxVectorAndDistance; meshesOrMinMaxVector = minMaxVectorAndDistance; distance = minMaxVectorAndDistance.distance;
<mask> meshesOrMinMaxVector = Mesh.MinMax(meshesOrMinMaxVector); <mask> distance = Vector3.Distance(meshesOrMinMaxVector.min, meshesOrMinMaxVector.max); <mask> } <mask> else { //minMaxVector and distance <mask> meshesOrMinMaxVector = meshesOrM...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.arcRotateCamera.ts
public orthoLeft: number = null;
<mask> @serializeAsVector3() <mask> public upVector = Vector3.Up(); <mask> <mask> @serialize() <mask> public orthoLeft = null; <mask> <mask> @serialize() <mask> public orthoRight = null; <mask> <mask> @serialize() </s> Monstro refactor: Enabling noIm...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.camera.ts
public orthoRight: number = null;
<mask> @serialize() <mask> public orthoLeft = null; <mask> <mask> @serialize() <mask> public orthoRight = null; <mask> <mask> @serialize() <mask> public orthoBottom = null; <mask> <mask> @serialize() </s> Monstro refactor: Enabling noImplicitAny on a...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.camera.ts
public orthoBottom: number = null;
<mask> @serialize() <mask> public orthoRight = null; <mask> <mask> @serialize() <mask> public orthoBottom = null; <mask> <mask> @serialize() <mask> public orthoTop = null; <mask> <mask> @serialize() </s> Monstro refactor: Enabling noImplicitAny on al...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.camera.ts
public orthoTop: number = null;
<mask> @serialize() <mask> public orthoBottom = null; <mask> <mask> @serialize() <mask> public orthoTop = null; <mask> <mask> @serialize() <mask> public fov = 0.8; <mask> <mask> @serialize() </s> Monstro refactor: Enabling noImplicitAny on all repo ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.camera.ts
public _activeMeshes = new SmartArray<AbstractMesh>(256);
<mask> private _worldMatrix: Matrix; <mask> public _postProcesses = new Array<PostProcess>(); <mask> private _transformMatrix = Matrix.Zero(); <mask> <mask> public _activeMeshes = new SmartArray<Mesh>(256); <mask> <mask> private _globalPosition = Vector3.Zero(); <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.camera.ts
public getActiveMeshes(): SmartArray<AbstractMesh> {
<mask> public get globalPosition(): Vector3 { <mask> return this._globalPosition; <mask> } <mask> <mask> public getActiveMeshes(): SmartArray<Mesh> { <mask> return this._activeMeshes; <mask> } <mask> <mask> public isActiveMesh(mesh: Mesh): boole...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.camera.ts
private _addCheckInputs(fn: () => void) {
<mask> } <mask> } <mask> } <mask> <mask> private _addCheckInputs(fn) { <mask> var current = this.checkInputs; <mask> return () => { <mask> current(); <mask> fn(); <mask> } </s> Monstro refactor: E...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.cameraInputsManager.ts
public serialize(serializedCamera: any) { var inputs: {[key: string]: any} = {};
<mask> this.attachedElement = null; <mask> this.checkInputs = () => { }; <mask> } <mask> <mask> public serialize(serializedCamera) { <mask> var inputs = {}; <mask> for (var cam in this.attached) { <mask> var input = this.attached[c...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.cameraInputsManager.ts
public parse(parsedCamera: any) {
<mask> <mask> serializedCamera.inputsmgr = inputs; <mask> } <mask> <mask> public parse(parsedCamera) { <mask> var parsedInputs = parsedCamera.inputsmgr; <mask> if (parsedInputs) { <mask> this.clear(); <mask> <mask> for (var...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.cameraInputsManager.ts
var construct = (<any>CameraInputTypes)[n];
<mask> if (parsedInputs) { <mask> this.clear(); <mask> <mask> for (var n in parsedInputs) { <mask> var construct = CameraInputTypes[n]; <mask> if (construct) { <mask> var parsedinput = parsedInputs[n]; <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.cameraInputsManager.ts
var construct = (<any>CameraInputTypes)[this.attached[n].getClassName()];
<mask> } <mask> } else { <mask> //2016-03-08 this part is for managing backward compatibility <mask> for (var n in this.attached) { <mask> var construct = CameraInputTypes[this.attached[n].getClassName()]; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.cameraInputsManager.ts
if (!(<any>axis)[axisName]) { (<any>this._initialQuaternion)[axisName] = 0;
<mask> <mask> this._initialQuaternion.copyFrom(this._quaternionCache || this.rotationQuaternion); <mask> <mask> ['x', 'y', 'z'].forEach((axisName) => { <mask> if (!axis[axisName]) { <mask> this._initialQuaternion[axisName] = 0; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.deviceOrientationCamera.ts
(<any>this._initialQuaternion)[axisName] *= -1;
<mask> ['x', 'y', 'z'].forEach((axisName) => { <mask> if (!axis[axisName]) { <mask> this._initialQuaternion[axisName] = 0; <mask> } else { <mask> this._initialQuaternion[axisName] *= -1; <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.deviceOrientationCamera.ts
private getRadians(degrees: number): number {
<mask> <mask> this.lockedTarget = lockedTarget; <mask> } <mask> <mask> private getRadians(degrees): number { <mask> return degrees * Math.PI / 180; <mask> } <mask> <mask> private follow(cameraTarget: AbstractMesh) { <mask> if (!cameraTarge...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/BabylonJS/Babylon.js/commit/735fdc36143d807b733848117c8ea92ee02d6c7e
src/Cameras/babylon.followCamera.ts