Skip to content

Commit

Permalink
src: Clean up. (mrdoob#26763)
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan committed Sep 15, 2023
1 parent 18ae441 commit fbc28ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/textures/Source.js
@@ -1,15 +1,15 @@
import { ImageUtils } from '../extras/ImageUtils.js';
import * as MathUtils from '../math/MathUtils.js';

let sourceId = 0;
let _sourceId = 0;

class Source {

constructor( data = null ) {

this.isSource = true;

Object.defineProperty( this, 'id', { value: sourceId ++ } );
Object.defineProperty( this, 'id', { value: _sourceId ++ } );

this.uuid = MathUtils.generateUUID();

Expand Down

0 comments on commit fbc28ae

Please sign in to comment.