Commit Graph

37 Commits

Author SHA1 Message Date
Yun Hsiao Wu
3669d5e00a clean up gfx module for independent compilation (#9573) 2021-10-30 22:03:17 +08:00
Leslie Leigh (李的序)
21826607b1 Fix lint errors (#8029)
* Fix lint errors

* Update

* Sync https://github.com/cocos-creator/engine/pull/2433

* Typo
2021-01-05 17:30:40 +08:00
Yun Hsiao Wu
32598c25cb switch to eslint (#7727)
* switch to eslint

* eslint: extends airbnb
2020-11-09 10:19:12 +08:00
Jare Guo
0319477911 fix decorator warning of ValueTypes (#7553)
* fix decorator warning of ValueTypes (sync #6285)

* refresh copyright
2020-10-21 16:31:41 +08:00
PP
cd03651bc4 remove jsb module declaration in engine repo (#7143)
* remove jsb module declaration in engine repo

* ignore jsb check

* space
2020-08-21 18:50:28 +08:00
Yun Hsiao Wu
afeb83e9a6 native pools (#7028) 2020-08-04 14:14:56 +08:00
Yun Hsiao Wu
69db70a910 Merge remote-tracking branch 'origin/3d' into 3d 2020-06-03 16:22:00 +08:00
SijieWang
a9f3969245 Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
# Conflicts:
#	cocos/audio/assets/clip.ts
#	cocos/core/3d/builtin/effects.ts
#	cocos/core/3d/framework/batched-skinning-model-component.ts
#	cocos/core/3d/framework/editor-camera-component.ts
#	cocos/core/3d/framework/index.ts
#	cocos/core/3d/framework/model-component.ts
#	cocos/core/animation/animation-clip.ts
#	cocos/core/animation/animation-manager.ts
#	cocos/core/animation/animation-state.ts
#	cocos/core/animation/skeletal-animation-component.ts
#	cocos/core/animation/skeletal-animation-state.ts
#	cocos/core/assets/mesh.ts
#	cocos/core/assets/simple-texture.ts
#	cocos/core/assets/sprite-frame.ts
#	cocos/core/assets/texture-base.ts
#	cocos/core/data/class-decorator.ts
#	cocos/core/data/instantiate.ts
#	cocos/core/event/event-target.ts
#	cocos/core/game.ts
#	cocos/core/load-pipeline/CCLoader.ts
#	cocos/core/load-pipeline/plist-parser.ts
#	cocos/core/load-pipeline/unpackers.ts
#	cocos/core/load-pipeline/url.ts
#	cocos/core/math/deprecated.ts
#	cocos/core/renderer/scene/model.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/core/scene-graph/scene-globals.ts
#	cocos/terrain/terrain.ts
#	predefine.ts
2020-06-03 13:25:42 +08:00
Yun Hsiao Wu
69c88434a4 Merge branch '3d-gfx' into 3d 2020-06-02 17:59:07 +08:00
Leslie Leigh (李的序)
2c1ef7941f Improve typing (#6751) 2020-05-27 11:03:56 +08:00
Leslie Leigh (李的序)
5e2adea787 Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… (#6680)
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'

* Fix CI

* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
coulsonwang
4f74962048 fix crash issue (#6449)
* fix crash issue

* update reivew

* simplify code

* fix tsc error
2020-03-31 15:10:53 +08:00
Yun Hsiao Wu
45d182308b GPU instancing support (#6300)
* instancing works

* misc opts

* material.setproperty typing

* baked skinning model instancing works

* fix isNormalized

* custom chunk rules injection framework

* profiler instance count

* seperate custom joint textures

* fix joint mapped buffers

* WebGL 1 doesn't allow int attributes

* should rebuild instances after pso change

* set instance attribute

* constants naming
2020-03-12 10:21:19 +08:00
Leslie Leigh (李的序)
284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
SijieWang
dff521ab43 Replace Editor variable (#6189)
* Replace Editor variable

* Fixed several definition errors
2020-02-19 15:09:53 +08:00
ChiaNing
b6985161fa add cocosplay for build (#5959) 2019-12-25 11:11:13 +08:00
ChiaNing
f3c198171e alipay adapter update (#5824)
* alipay adapter update

* platform change

* update

* useless remove
2019-12-03 15:47:23 +08:00
Lelie Leight (李的序)
a722483d2d fix typing errors (#5538)
* fix typing errors

* disable eslint rule: prefer-readonly
2019-10-14 22:58:15 +08:00
jiaxin.lai
3fdda0d1c8 Rename built_in to builtin (#5390)
* rename ***_BUILT_IN to ***_BUILTIN

* add protection, it will be remove when editor repo ***_BUILT_IN rename to ***_BUILTIN
2019-09-16 10:50:05 +08:00
SijieWang
b215a60e3e Delete some of the Editor references (#5345)
* Delete some of the Editor references

* review code

* test case
2019-09-09 09:58:31 +08:00
jiaxin.lai
37a10deb8d tween tweaks (#5128)
* tweaks of tween

* using deprecated framework

* tweak
2019-08-12 17:36:31 +08:00
jiaxin.lai
0c02eaa69c add latest module && add deprecated framework (#5005) 2019-07-30 10:16:41 +08:00
jiaxin.lai
faa7094cf8 add some typing to interface of INode (#4984)
* add some typing to interface of INode

* fix INode childern typing

* add Mutable type, for change Readonly type

* decouple node with ui relative component

* add missed ui component, and decouple node

* add more typing to IBaseNode and INode
2019-07-26 17:56:55 +08:00
Leslie Leigh
505666f210 DO NOT take Constructor from ammo.js.d.ts (#4703) 2019-06-26 10:07:24 +08:00
ChiaNing
408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00
jiaxin.lai
34c8e6650d Physics builtin (#4547)
* Rename built-in-*** to builtin-***

* Rename r to radius and c to center;

* Add method : transkateAndRotate & setScale to obb & sphere;
Delete unneed class box in box.ts file

* Fix builtin physics Bug of #751 & Modify the physics relative component

* Add macro condition, some method is not declare in builtin

* Rename CC_PHYISCS_*** to CC_PHYSICS_***;

* rename BuiltIn*** to Builtin***

* Typing intersect
2019-06-05 10:27:09 +08:00
ChiaNing
f775675601 Some core code modify to TS ( scene-graph/... ) (#4497) 2019-05-28 12:47:17 +08:00
ChiaNing
44def350a0 Some core code modify to TS ( core/data/... ) ( bug fixed ) (#4466)
* Some core code modify to TS ( core/data/... ) ( bug fixed )

* Some core code modify to TS ( Fixed the problem before )

* change for of
2019-05-28 11:55:05 +08:00
jiaxin.lai
c98f25d53e remove the collider body from world When the collider has shape only (#4470)
* remove the collider body from world When collider has shape only;
set body group default value to 1;

* Add declare for phyiscs macro
2019-05-22 14:07:57 +08:00
ChiaNing
acaecd2e26 Revert "Some core code modify to TS ( core/data/... ) (#4455)"
This reverts commit d7c6046807.
2019-05-21 10:42:51 +08:00
ChiaNing
d7c6046807 Some core code modify to TS ( core/data/... ) (#4455) 2019-05-20 10:54:26 +08:00
ChiaNing
fbbf5366ac Some core code modify to TS(assets/ & components/) (#4418) 2019-05-14 18:37:08 +08:00
ChiaNing
5e3eea8b56 Some core code modify to TS (#4403) 2019-05-11 22:52:51 +08:00
Leslie Leigh
d259b23355 typing (#4271)
* typing

* typing

* rm
2019-04-22 20:06:29 +08:00
Leslie Leigh
d7aaaa7397 remove webgl-debug (#4083) 2019-03-22 10:44:47 +08:00
Leslie Leigh
05ec70ad5e typing (#4062)
* typing

* remove old engine-3d stuffs

* typing
2019-03-20 10:42:13 +08:00
Leslie Leigh
b3e3ff2b3c move declaration files into @types; adapt sampler interface; fix comp… (#4051)
* move declaration files into @types; adapt sampler interface; fix compiler error

* typing asset/raw-asset

* compiler errors

* delete asset.d.ts

* change tsconfig-gendecls.json

* fix
2019-03-15 17:26:37 +08:00