File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " webgl-obj-loader" ,
3- "version" : " 2.0.1 " ,
3+ "version" : " 2.0.2 " ,
44 "description" : " A simple OBJ model loader to help facilitate the learning of WebGL" ,
55 "main" : " dist/webgl-obj-loader.min.js" ,
66 "types" : " dist/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -64,12 +64,12 @@ function getMtl(modelOptions: DownloadModelsOptions): string {
6464
6565export interface DownloadModelsOptions {
6666 obj : string ;
67- mtl : boolean | string ;
68- downloadMtlTextures : boolean ;
69- mtlTextureRoot : string ;
70- name : string ;
71- indicesPerMaterial : boolean ;
72- calcTangentsAndBitangents : boolean ;
67+ mtl ? : boolean | string ;
68+ downloadMtlTextures ? : boolean ;
69+ mtlTextureRoot ? : string ;
70+ name ? : string ;
71+ indicesPerMaterial ? : boolean ;
72+ calcTangentsAndBitangents ? : boolean ;
7373}
7474
7575type ModelPromises = [ Promise < string > , Promise < Mesh > , undefined | Promise < MaterialLibrary > ] ;
You can’t perform that action at this time.
0 commit comments