mirror of
https://github.com/tengge1/ShadowEditor.git
synced 2026-01-25 15:08:11 +00:00
所有物体基类。
This commit is contained in:
parent
4fdaa52f30
commit
2342f039b2
11
ShadowEditor.Web/src/object/BaseObject.js
Normal file
11
ShadowEditor.Web/src/object/BaseObject.js
Normal file
@ -0,0 +1,11 @@
|
||||
/**
|
||||
* 所有物体基类
|
||||
*/
|
||||
function BaseObject() {
|
||||
THREE.Object3D.call(this);
|
||||
}
|
||||
|
||||
BaseObject.prototype = Object.create(THREE.Object3D.prototype);
|
||||
BaseObject.prototype.constructor = BaseObject;
|
||||
|
||||
export default BaseObject;
|
||||
0
ShadowEditor.Web/src/object/Sky.js
Normal file
0
ShadowEditor.Web/src/object/Sky.js
Normal file
Loading…
x
Reference in New Issue
Block a user