@enable3d/ammo-physics
Version:
Physics Plugin for three.js
39 lines • 2.08 kB
TypeScript
/**
* @author Yannick Deubel (https://github.com/yandeu)
* @copyright Copyright (c) 2020 Yannick Deubel; Project Url: https://github.com/enable3d/enable3d
* @description This is a modified version of the original code from Kevin Lee
* (Includes latest three-to-ammo commit from August 6, 2020)
*/
export declare const TYPE: {
BOX: string;
CYLINDER: string;
SPHERE: string;
CAPSULE: string;
CONE: string;
HULL: string;
HACD: string;
VHACD: string;
MESH: string;
HEIGHTFIELD: string;
};
export declare const FIT: {
ALL: string;
MANUAL: string;
};
export declare const HEIGHTFIELD_DATA_TYPE: {
short: string;
float: string;
};
export declare const createCollisionShapes: (vertices: any, matrices: any, indexes: any, matrixWorld: any, options?: any) => any[];
export declare const createBoxShape: (vertices: any, matrices: any, matrixWorld: any, options?: any) => any;
export declare const createCylinderShape: (vertices: any, matrices: any, matrixWorld: any, options?: any) => any;
export declare const createCapsuleShape: (vertices: any, matrices: any, matrixWorld: any, options?: any) => any;
export declare const createConeShape: (vertices: any, matrices: any, matrixWorld: any, options?: any) => any;
export declare const createSphereShape: (vertices: any, matrices: any, matrixWorld: any, options?: any) => any;
export declare const createHullShape: (vertices: any, matrices: any, matrixWorld: any, options?: any) => any;
export declare const createHACDShapes: (vertices: any, matrices: any, indexes: any, matrixWorld: any, options?: any) => any[];
export declare const createVHACDShapes: (vertices: any, matrices: any, indexes: any, matrixWorld: any, options?: any) => any[];
export declare const createTriMeshShape: (vertices: any, matrices: any, indexes: any, matrixWorld: any, options?: any) => any;
export declare const createHeightfieldTerrainShape: (options?: any) => any;
export declare const iterateGeometries: (root: any, options: any, cb: any) => void;
//# sourceMappingURL=three-to-ammo.d.ts.map