File tree 2 files changed +2
-22
lines changed
2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ export class AGALTokenizer {
17
17
desc . native = array . native ;
18
18
return desc ;
19
19
} else
20
- return this . decribeAGALByteArray ( array ) ;
20
+ return this . decribeAGALByteArray ( array ) ;
21
21
}
22
22
23
23
public decribeAGALByteArray ( bytes : ByteArray ) : Description {
24
- bytes . position = 0
24
+ bytes . position = 0 ;
25
25
const header : Header = new Header ( ) ;
26
26
27
27
if ( bytes . readUnsignedByte ( ) != 0xa0 ) {
Original file line number Diff line number Diff line change @@ -357,26 +357,6 @@ export class ProgramWebGL implements IProgram {
357
357
this . _gl . uniform4fv ( location , value ) ;
358
358
}
359
359
360
- public uniformMatrix4fv ( type : number , transpose : boolean , value :Float32Array ) :void {
361
- const location = this . getUniformLocation ( type )
362
-
363
- if ( ! location ) {
364
- return ;
365
- }
366
-
367
- if ( Settings . ENABLE_UNIFORM_CACHE ) {
368
- const hash = this . _needCache ( type * 4 , value ) ;
369
-
370
- // return undef hash if not require to uppload;
371
- if ( hash === void 0 ) {
372
- return ;
373
- }
374
- this . _uniformCache [ type * 4 ] = hash ;
375
- }
376
-
377
- this . _gl . uniformMatrix4fv ( location , transpose , value )
378
- }
379
-
380
360
public dispose ( ) : void {
381
361
// not real delete progs, because maybe will be recreted in nearest future
382
362
// then progs in prety small, we can store 1000 + without overhead
You can’t perform that action at this time.
0 commit comments