Skip to content

Commit

Permalink
Better support for AMD/requireJS
Browse files Browse the repository at this point in the history
  • Loading branch information
frenchtoast747 committed Apr 23, 2020
1 parent 110433c commit 3a602a5
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 16 deletions.
14 changes: 14 additions & 0 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@ import { Material, MaterialLibrary, Vec3, UVW, TextureMapData } from "./material
import { Layout, TYPES, AttributeInfo, DuplicateAttributeException, Attribute } from "./layout";
import { downloadModels, downloadMeshes, initMeshBuffers, deleteMeshBuffers, DownloadModelsOptions, MeshMap, NameAndUrls, ExtendedGLBuffer, MeshWithBuffers } from "./utils";
declare const version = "2.0.3";
export declare const OBJ: {
Attribute: typeof Attribute;
DuplicateAttributeException: typeof DuplicateAttributeException;
Layout: typeof Layout;
Material: typeof Material;
MaterialLibrary: typeof MaterialLibrary;
Mesh: typeof Mesh;
TYPES: typeof TYPES;
downloadModels: typeof downloadModels;
downloadMeshes: typeof downloadMeshes;
initMeshBuffers: typeof initMeshBuffers;
deleteMeshBuffers: typeof deleteMeshBuffers;
version: string;
};
/**
* @namespace
*/
Expand Down
29 changes: 22 additions & 7 deletions dist/webgl-obj-loader.js

Large diffs are not rendered by default.

Loading

0 comments on commit 3a602a5

Please sign in to comment.