minggo
0d7c5c8f56
move cocos/core/scene-graph to cocos/scene-graph ( #12868 )
...
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
pandamicro
9f89b0ef24
New module division ( #5285 )
...
* Temp
* temp
* move ui core
* Arrange ui and terrain
* Fix import path for all modules except core
* Move primitives into core
* Fix debug.getError
* Move audio-downloader to audio module
* export game from game.ts
* Migrate load-pipeline to ts
* Fix core modules and cleanup
* Move animation into core
* Fix module exports
* Fix director issue
* Remove most cc.director usage
* Fix ts issues
* Fix issues for unit test and editor running
* Revert removing deprecated import
* tweaks
* tweaks
* Fix ci
* Fix ci
* Add modules in module division
* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00
Yun Hsiao Wu
b893dfce67
share frame ID UBO across sub skinning models ( #5269 )
...
* fix batcher
* misc perf opt
* share frame ID UBO across sub skinning models
* suppress type error
2019-08-28 22:32:51 -05:00
Weiliang Wang
595680aa70
fix node layer data ( #5254 )
...
* add transformAffine()
* remove duplicate code
* fix layer data of node
2019-08-26 21:34:53 -05:00
Yun Hsiao Wu
ca0cbd9bdb
fix node set world scale ( #5245 )
2019-08-26 00:57:57 -05:00
Yun Hsiao Wu
ff19a901c1
refine details ( #5164 )
...
* effect adapt
* restore tslint
* refine math constants
2019-08-15 21:52:32 -05:00
Yun Hsiao Wu
517f9af36e
fix anim comp duration & node setWorldScale ( #5150 )
...
* fix anim clip speed & duration
* fix setWorldScale
2019-08-13 00:38:17 -05:00
Yun Hsiao Wu
ef1d274ac7
calc world transform using matrix for skeletal animation ( #5139 )
2019-08-12 04:29:21 -05:00
pandamicro
8367e8b036
Fix EventManager listener order issue ( #5127 )
...
* Remove useless base node apis to reduce properties
* Add BaseNode _siblingIndex to avoid indexOf check
* Fix EventManager listener order issue
* Fix ci
* Fix node removal issue
* Fix siblingIndex for deserialized node
2019-08-09 16:58:45 +08:00
Yun Hsiao Wu
5f651dad6f
fix circular ref ( #5131 )
...
* fix circular ref
* remove tslint usage
2019-08-08 21:25:54 -05:00
pandamicro
cfddd96656
Fix some ts apis ( #5108 )
2019-08-06 20:11:39 +08:00
jiaxin.lai
c6dc5b4ba9
fix haschangedFlags typing error in interface of INode ( #5101 )
2019-08-06 17:09:06 +08:00
Leslie Leigh
5ff61545b3
fix eventManager ( #5103 )
2019-08-06 16:32:46 +08:00
Yun Hsiao Wu
75aa882aca
refine node & model dirty ( #5102 )
2019-08-06 16:07:40 +08:00
Yun Hsiao Wu
c100ad41e9
fix node dirty bit ( #5083 )
2019-08-05 14:52:16 +08:00
ChiaNing
c31e03e599
divide fix & API add ( #5082 )
2019-08-05 13:30:37 +08:00
Yun Hsiao Wu
b134b8db10
node shearing support & detail improve ( #5078 )
...
* joints texture free interface
* better socket interaction
* workaround UBO size align bug
* better socket query
* fix playground
* node transform include shearing now
* finer dirty mechanism for node
2019-08-05 10:13:39 +08:00
Weiliang Wang
d9fba5fb8a
remove divideScalar() ( #5080 )
...
* remove divideScalar()
2019-08-05 10:00:11 +08:00
ChiaNing
9da70cce0b
math function add ( #5076 )
...
* math function add
* rebase
2019-08-05 09:44:25 +08:00
ChiaNing
a3ed39df86
math function abbreviation delete ( #5041 )
...
* math funtion abbreviation delete
* magnitude change
2019-08-01 14:25:39 +08:00
ChiaNing
4bc2739786
Vmath ( #4987 )
...
* Vmath (#4895 )
* vmath refactor
* value-type API change
* vmath change update
* conflict fix
* value types change
* translate modify (#4917 )
* value types bug fixed (#4940 )
* playground update (#4946 )
* bug fixed
* bug fixed
* bug fixed
* bug fix
* util modify
* create remove & ccenum rename
* export by cc.math
* Rename value-types to math
* util funtion deprecated warn
* value-types change
* color test fix
* color API change
2019-07-29 11:50:51 +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
pandamicro
1380e46c34
Unittest ( #4973 )
...
* unit test for ts
* Fix ts-jest warnings
* Remove puppeteer for now
* fix physics define and jest config for windows
* Replace Node ref with INode ref
* Fix ci issue
* Fix
* tweak
* tweak
* Fix vscode launcher
* now physics framework export all physics component (#28 )
* tweaks
2019-07-25 17:15:20 +08:00
Weiliang Wang
cdcacebfd2
fix translate() & rotate() bug ( #4959 )
...
fix translate() & rotate()
2019-07-24 12:11:24 +08:00
Yun Hsiao Wu
948255083c
UI vertex calc opt
2019-07-24 10:17:58 +08:00
yinkaile
4837a6a0b0
Revert "refine node.updateWorldTransform" ( #4931 )
...
This reverts commit 654e850409950651ee49286060794df78ca2edf7.
2019-07-21 16:05:27 +08:00
yinkaile
345ee7ed85
3d v1.0.0 ( #4929 )
...
* refine node.updateWorldTransform
* refine sprite simple assembler
2019-07-20 16:50:26 +08:00
pandamicro
b1ec962a9b
Remove reorder logic during walk ( #4926 )
...
* Move _uiComp from base-node to node
* Do not reorder during walk, reorder within ui component
* tweaks
2019-07-20 16:06:58 +08:00
Weiliang Wang
f189f9fc00
remove fuzzy comparison of floating uniform ( #4871 )
...
* remove fuzzy comparison of floating uniform
* remove constget import
2019-07-12 14:46:56 +08:00
Weiliang Wang
f3f4745d80
remove @constget ( #4860 )
2019-07-11 11:13:15 +08:00
pandamicro
ec9e639293
Refactor valuetypes ( #4798 )
...
* Some value-types change
* value-type change
* Refactor valuetypes
2019-07-03 09:31:43 +08:00
JoneLau
87036c4660
add constget to the valuetype in the component (link: 4733) ( #4769 )
2019-07-01 18:24:28 +08:00
JoneLau
261f6a15c4
remove eventlistener in node being destroyed ( #4752 )
2019-07-01 09:36:38 +08:00
ChiaNing
3fe05964d9
fix "_currentHovered" destroy bug ( #4750 )
2019-06-28 18:38:52 +08:00
Weiliang Wang
d6fb2dc72b
Revert "add constget to the valuetype in the component ( #4733 )" ( #4739 )
...
This reverts commit fb35719387 .
2019-06-27 18:31:41 +08:00
JoneLau
fb35719387
add constget to the valuetype in the component ( #4733 )
2019-06-27 17:57:08 +08:00
Yun Hsiao Wu
d7e7f06611
global planar shadow system ( #4709 )
...
* doc category
* planar shadow
2019-06-26 09:48:47 +08:00
Yun Hsiao Wu
dc45d5e0ce
update joints after culling ( #4641 )
...
* fix vmath return type
* more docs
* update joints after culling
2019-06-17 17:33:01 +08:00
Leslie Leigh
44f1669fa6
add readOnly decorator ( #4626 )
...
* update api document for ILerpable
* add readOnly decorator
* rename readOnly to constget
* doc
2019-06-17 12:00:06 +08:00
Yun Hsiao Wu
ab20e4fe2b
vmath docs ( #4620 )
...
* mat4 vec4
* minor
* vec3, mat3, quat
* color4, vec2
2019-06-14 11:25:48 +08:00
Yun Hsiao Wu
182a29a869
skinning mesh bounds ( #4591 )
...
* skinning mesh bounds
* scene-utils docs
* fix batching
2019-06-12 17:06:13 +08:00
JoneLau
1610699718
fix widget not auto update in runtime ( #4553 )
2019-06-06 18:56:10 +08:00
JoneLau
63c3bdc31e
fix button sprite bidirectional sync and mask options error ( #4544 )
2019-06-03 19:25:09 +08:00
Yun Hsiao Wu
e3ac704223
minor ( #4532 )
2019-05-30 19:13:22 +08:00
Yun Hsiao Wu
7103999d68
handle different skinning roots ( #4525 )
...
* better opt
* handle different skinning roots
2019-05-30 17:36:13 +08:00
gameu3d
abe97e390d
fix euler data problem ( #4486 )
...
* fix euler data problem
* update euler before serialize
2019-05-24 16:58:35 +08:00
Leslie Leigh
c8aa3e560c
rename EventType to SystemEventType; optimize EventListener's method … ( #4496 )
...
* rename EventType to SystemEventType; optimize EventListener's method declarations in derived class
* fix
* line break
* line
* update tfig
2019-05-24 16:56:40 +08:00
JoneLau
91c3630a75
fix the bug that widget is dragging in editor and does not take effect ( #4463 )
2019-05-22 13:31:14 +08:00
Yun Hsiao Wu
87f59ff193
fix eulerAngle flip in animation editor ( #4446 )
2019-05-17 16:22:15 +08:00
JoneLau
1095bbeac1
reject ui module ( #4354 )
...
* reject ui module
* replenish
2019-05-05 09:58:27 +08:00