Skip to content

Commit

Permalink
src: Clean up. (#26763)
Browse files Browse the repository at this point in the history
  • Loading branch information
linbingquan authored 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
Original file line number Diff line number Diff line change
@@ -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.