Bläddra i källkod

reverting to cleaner state

David Catuhe 8 år sedan
förälder
incheckning
20362bf44c

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 2 - 2
dist/preview release/babylon.core.js


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 1112 - 1112
dist/preview release/babylon.d.ts


Filskillnaden har hållts tillbaka eftersom den är för stor
+ 2 - 2
dist/preview release/babylon.js


+ 13 - 13
dist/preview release/babylon.max.js

@@ -5821,9 +5821,9 @@ var BABYLON;
     (function (Internals) {
         var _AlphaState = (function () {
             function _AlphaState() {
-                this._isAlphaBlendDirty = true;
-                this._isBlendFunctionParametersDirty = true;
-                this._alphaBlend = true;
+                this._isAlphaBlendDirty = false;
+                this._isBlendFunctionParametersDirty = false;
+                this._alphaBlend = false;
                 this._blendFunctionParameters = new Array(4);
             }
             Object.defineProperty(_AlphaState.prototype, "isDirty", {
@@ -5901,12 +5901,12 @@ var BABYLON;
     (function (Internals) {
         var _DepthCullingState = (function () {
             function _DepthCullingState() {
-                this._isDepthTestDirty = true;
-                this._isDepthMaskDirty = true;
-                this._isDepthFuncDirty = true;
-                this._isCullFaceDirty = true;
-                this._isCullDirty = true;
-                this._isZOffsetDirty = true;
+                this._isDepthTestDirty = false;
+                this._isDepthMaskDirty = false;
+                this._isDepthFuncDirty = false;
+                this._isCullFaceDirty = false;
+                this._isCullDirty = false;
+                this._isZOffsetDirty = false;
             }
             Object.defineProperty(_DepthCullingState.prototype, "isDirty", {
                 get: function () {
@@ -6076,10 +6076,10 @@ var BABYLON;
     (function (Internals) {
         var _StencilState = (function () {
             function _StencilState() {
-                this._isStencilTestDirty = true;
-                this._isStencilMaskDirty = true;
-                this._isStencilFuncDirty = true;
-                this._isStencilOpDirty = true;
+                this._isStencilTestDirty = false;
+                this._isStencilMaskDirty = false;
+                this._isStencilFuncDirty = false;
+                this._isStencilOpDirty = false;
                 this.reset();
             }
             Object.defineProperty(_StencilState.prototype, "isDirty", {

Filskillnaden har hållts tillbaka eftersom den är för stor
+ 2 - 2
dist/preview release/babylon.noworker.js


+ 3 - 3
src/States/babylon.alphaCullingState.js

@@ -4,9 +4,9 @@ var BABYLON;
     (function (Internals) {
         var _AlphaState = (function () {
             function _AlphaState() {
-                this._isAlphaBlendDirty = true;
-                this._isBlendFunctionParametersDirty = true;
-                this._alphaBlend = true;
+                this._isAlphaBlendDirty = false;
+                this._isBlendFunctionParametersDirty = false;
+                this._alphaBlend = false;
                 this._blendFunctionParameters = new Array(4);
             }
             Object.defineProperty(_AlphaState.prototype, "isDirty", {

+ 3 - 3
src/States/babylon.alphaCullingState.ts

@@ -1,8 +1,8 @@
 module BABYLON.Internals {
     export class _AlphaState {
-        private _isAlphaBlendDirty = true;
-        private _isBlendFunctionParametersDirty = true;
-        private _alphaBlend = true;
+        private _isAlphaBlendDirty = false;
+        private _isBlendFunctionParametersDirty = false;
+        private _alphaBlend = false;
         private _blendFunctionParameters = new Array<number>(4);
 
         public get isDirty(): boolean {

+ 6 - 6
src/States/babylon.depthCullingState.js

@@ -4,12 +4,12 @@ var BABYLON;
     (function (Internals) {
         var _DepthCullingState = (function () {
             function _DepthCullingState() {
-                this._isDepthTestDirty = true;
-                this._isDepthMaskDirty = true;
-                this._isDepthFuncDirty = true;
-                this._isCullFaceDirty = true;
-                this._isCullDirty = true;
-                this._isZOffsetDirty = true;
+                this._isDepthTestDirty = false;
+                this._isDepthMaskDirty = false;
+                this._isDepthFuncDirty = false;
+                this._isCullFaceDirty = false;
+                this._isCullDirty = false;
+                this._isZOffsetDirty = false;
             }
             Object.defineProperty(_DepthCullingState.prototype, "isDirty", {
                 get: function () {

+ 6 - 6
src/States/babylon.depthCullingState.ts

@@ -1,11 +1,11 @@
 module BABYLON.Internals {
     export class _DepthCullingState {
-        private _isDepthTestDirty = true;
-        private _isDepthMaskDirty = true;
-        private _isDepthFuncDirty = true;
-        private _isCullFaceDirty = true;
-        private _isCullDirty = true;
-        private _isZOffsetDirty = true;
+        private _isDepthTestDirty = false;
+        private _isDepthMaskDirty = false;
+        private _isDepthFuncDirty = false;
+        private _isCullFaceDirty = false;
+        private _isCullDirty = false;
+        private _isZOffsetDirty = false;
 
         private _depthTest: boolean;
         private _depthMask: boolean;

+ 4 - 4
src/States/babylon.stencilState.js

@@ -4,10 +4,10 @@ var BABYLON;
     (function (Internals) {
         var _StencilState = (function () {
             function _StencilState() {
-                this._isStencilTestDirty = true;
-                this._isStencilMaskDirty = true;
-                this._isStencilFuncDirty = true;
-                this._isStencilOpDirty = true;
+                this._isStencilTestDirty = false;
+                this._isStencilMaskDirty = false;
+                this._isStencilFuncDirty = false;
+                this._isStencilOpDirty = false;
                 this.reset();
             }
             Object.defineProperty(_StencilState.prototype, "isDirty", {

+ 4 - 4
src/States/babylon.stencilState.ts

@@ -1,9 +1,9 @@
 module BABYLON.Internals {
     export class _StencilState {
-        private _isStencilTestDirty = true;
-        private _isStencilMaskDirty = true;
-        private _isStencilFuncDirty = true;
-        private _isStencilOpDirty = true;
+        private _isStencilTestDirty = false;
+        private _isStencilMaskDirty = false;
+        private _isStencilFuncDirty = false;
+        private _isStencilOpDirty = false;
 
         private _stencilTest: boolean;