Commit Graph

78 Commits

Author SHA1 Message Date
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
pandamicro 1ea1ddd496 Avoid emit transform event if no listener (#4281) 2019-04-24 10:48:10 +08:00
Yun Hsiao Wu 76d0ad12f4 fix prefab transform info (#4276) 2019-04-23 16:28:37 +08:00
jerrywwl 3c57deb11f add readonly getter 2019-04-23 10:52:45 +08:00
jerrywwl befa4a3728 add matrix readonly getter 2019-04-23 10:43:49 +08:00
Yun Hsiao Wu 2e27981e35 misc fix (#4269) 2019-04-22 14:51:07 +08:00
gameu3d 544e19c0f8 add get for position,scale,rotation (#4196)
* add get for position,scale,rotation

* fix problem

* fix get
2019-04-16 20:08:50 +08:00
Leslie Leigh d828d65c43 add trs setters (#4172) 2019-04-09 15:37:32 +08:00
JoneLau cfe368c706 add missing node event (#4160) 2019-04-08 13:02:40 +08:00
Yun Hsiao Wu 9403a19382 update resources on pipeline change (#4106)
...and get inspector on light component to work
2019-03-26 18:45:23 +08:00
Yun Hsiao Wu 86185af02c keepWorldTransform when setParent (#4052) 2019-03-15 16:29:32 +08:00
Yun Hsiao Wu f882a4198e fix sampler & node (#4048) 2019-03-15 15:17:46 +08:00
Weiliang Wang 8bb80df732 3d (#4036)
* compiler error (#4033)

* compiler error

* add gen decl module

* fix global event and other bug (#4032)

* components such as event-target to ts

* divide CCEvent and CCTouch into game coordinates and ui coordinate mod

* repair editor environment where mask does not take effect bug

* fix render component blendState modification does not take effect bug

* fix bug

* fix ts tip
2019-03-14 12:03:04 +08:00
Leslie Leigh 4e062977bc tslint (#4006)
* tslint

* fix node decl errors

* fix decl error
2019-03-11 23:52:17 +08:00
JoneLau ed93473d67 fix error (#3969)
* fix error

* repair overridePipelineState bug per Fram
2019-03-06 09:15:22 +08:00
Yun Hsiao Wu be92434df6 scene globals (#3967) 2019-03-05 15:46:39 +08:00