Commit Graph

184 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 c855545cf3 BaseNode cleanup remove (#5011)
* BaseNode cleanup remove

* BaseNode cleanup remove
2019-07-30 15:51:07 +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
pandamicro 2763dfc060 Remove 'for of' for array and add node._uiComp for caching (#4923) 2019-07-20 14:17:46 +08:00
ChiaNing 634aefb50f EventManger update (#4919) 2019-07-20 11:23:11 +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
JoneLau 6b1b79cc12 replace example (#4846) 2019-07-09 18:10:37 +08:00
ChiaNing 00c904d6cb api-doc modfiy (#4803) 2019-07-03 16:07:49 +08:00
pandamicro ec9e639293 Refactor valuetypes (#4798)
* Some value-types change

* value-type change

* Refactor valuetypes
2019-07-03 09:31:43 +08:00
Yun Hsiao Wu b995626f0c missing sampler & circular ref issue (#4787)
* fix missing sampler issue

* fix references
2019-07-02 11:18:22 +08:00
JoneLau 87036c4660 add constget to the valuetype in the component (link: 4733) (#4769) 2019-07-01 18:24:28 +08:00
JoneLau 5d37db9868 cancel check dependency and change it to the editor to manipulate the data in redo undo (#4770) 2019-07-01 18:23:56 +08:00
Yun Hsiao Wu a24c149a33 misc fixes (#4771)
* comments on mat quat conversion

* fix IBL update

* misc ccclass fixes
2019-07-01 16:39:03 +08:00
JoneLau 261f6a15c4 remove eventlistener in node being destroyed (#4752) 2019-07-01 09:36:38 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
ChiaNing 3fe05964d9 fix "_currentHovered" destroy bug (#4750) 2019-06-28 18:38:52 +08:00
Yun Hsiao Wu f6d6aab06b bindpose as mat4 (#4738) 2019-06-27 18:35:01 +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
JoneLau 67e264c995 ui layout api (#4707) 2019-06-27 09:52:13 +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 62d2f5f38a builtin IBL (#4671) 2019-06-21 18:49:20 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +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
ChiaNing 6ee7107a32 Format adjustment for api doc (#4625) 2019-06-14 14:43:21 +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
SijieWang 4a39ee361f Generate the actual uuid in the id generator (#4612) 2019-06-13 17:31:04 +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
SijieWang babb37de50 支持 EditorExtends 内的 Node 和 Component 管理器 (#4588)
* 支持 EditorExtends.Script  记录脚本内注册的所有 class

* Remove Component._addMenuItem

* 组件和节点支持 EditorExtends
2019-06-12 09:43:00 +08:00
JoneLau 76080d8e0c fix bug (#4568) 2019-06-06 19:26:38 +08:00
JoneLau 4767be9e82 add ui api (#4567) 2019-06-06 19:25:28 +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
ChiaNing f775675601 Some core code modify to TS ( scene-graph/... ) (#4497) 2019-05-28 12:47:17 +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