Skip to content

Commit 3a602a5

Browse files
Better support for AMD/requireJS
1 parent 110433c commit 3a602a5

File tree

6 files changed

+60
-16
lines changed

6 files changed

+60
-16
lines changed

dist/index.d.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@ import { Material, MaterialLibrary, Vec3, UVW, TextureMapData } from "./material
33
import { Layout, TYPES, AttributeInfo, DuplicateAttributeException, Attribute } from "./layout";
44
import { downloadModels, downloadMeshes, initMeshBuffers, deleteMeshBuffers, DownloadModelsOptions, MeshMap, NameAndUrls, ExtendedGLBuffer, MeshWithBuffers } from "./utils";
55
declare const version = "2.0.3";
6+
export declare const OBJ: {
7+
Attribute: typeof Attribute;
8+
DuplicateAttributeException: typeof DuplicateAttributeException;
9+
Layout: typeof Layout;
10+
Material: typeof Material;
11+
MaterialLibrary: typeof MaterialLibrary;
12+
Mesh: typeof Mesh;
13+
TYPES: typeof TYPES;
14+
downloadModels: typeof downloadModels;
15+
downloadMeshes: typeof downloadMeshes;
16+
initMeshBuffers: typeof initMeshBuffers;
17+
deleteMeshBuffers: typeof deleteMeshBuffers;
18+
version: string;
19+
};
620
/**
721
* @namespace
822
*/

dist/webgl-obj-loader.js

Lines changed: 22 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)