mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
11 lines
226 B
JavaScript
11 lines
226 B
JavaScript
/**
|
|
* 所有物体基类
|
|
*/
|
|
function BaseObject() {
|
|
THREE.Object3D.call(this);
|
|
}
|
|
|
|
BaseObject.prototype = Object.create(THREE.Object3D.prototype);
|
|
BaseObject.prototype.constructor = BaseObject;
|
|
|
|
export default BaseObject; |