فهرست منبع

src: Clean up. (#26763)

林炳权 1 سال پیش
والد
کامیت
fbc28ae0c5
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      src/textures/Source.js

+ 2 - 2
src/textures/Source.js

@@ -1,7 +1,7 @@
 import { ImageUtils } from '../extras/ImageUtils.js';
 import * as MathUtils from '../math/MathUtils.js';
 
-let sourceId = 0;
+let _sourceId = 0;
 
 class Source {
 
@@ -9,7 +9,7 @@ class Source {
 
 		this.isSource = true;
 
-		Object.defineProperty( this, 'id', { value: sourceId ++ } );
+		Object.defineProperty( this, 'id', { value: _sourceId ++ } );
 
 		this.uuid = MathUtils.generateUUID();