Commit Graph

8 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 5829f391a3 Add a general used internal algorithm: array partition (#13381)
* Algorithm: array partition
2022-11-16 15:04:14 +08:00
minggo 6cda11d9c9 fix some core module (#13314)
* fix some core module
- move all engine internal exports to core/internal-index.ts except geometry, as geometry should be exported as a whole module
- exports algorithm in algorithm/index.ts
2022-11-11 11:34:13 +08:00
minggo 7294de16f6 Adjust core import (#13230)
* fix import style of core module
* fix decorator usage
2022-11-07 15:01:31 +08:00
minggo a354281d7e Fix core import issue (#13148)
* import binarySearchEpsilon from core module

* remove unused files

* import easing from core module

* use array instead

* do not export MutableForwardIterator

* do not export binarySearchBy

* print deprecated information in runtime
2022-10-26 15:19:26 +08:00
minggo 70ef983a41 move some files into cocos/core/algorithm (#12723)
move cocos/core/easing, cocos/core/utils/aotob and cocos/core/utils/murmurhash2_gc to cocos/core/algorithm
2022-09-08 17:05:50 +08:00
Leslie Leigh (李的序) 6d10f68ef8 AnimationCurve (#8409)
* AnimationCurve

* Mark curve frame values as uniquelyReferenced

* Adjust modules

* Update

* Manually implements KeyframeCurve.iterator

* TargetPath

* Update

* Fix BUG

* Fix

* Add size track

* Update

* Fix size; unit tests

* fix split animation (#24)

* CCONB animation clip; Remove integer track/channel/curve

* Optimize key shared curves

* Remove keyframecurve.empty

* Exotic animation

* Fix unit tests

* start/end -> left/right

* Curve range rename

* Easing methods

* Fix untyped track

* Fix

* fix upgradUnTypedTracks (#26)

* Rename

.interpMode -> .interpolationMode
RealInterpMode -> RealInterpolationMode
QuaternionInterpMode -> QuaternionInterpolationMode
ExtrapMode -> ExtrapolationMode
.preExtrap -> .preExtrapolation
.postExtrap -> .postExtrapolation
QuaternionCurve -> QuatCurve
QuaternionKeyframeValue -> QuatKeyframeValue

* Update pre/post extrap

* Optimize-1

* Optimize-2

* Eliminate for-of

* Mark deprecateds

* Hide RealKeyframeValue/QuatKeyframeValue Constructor

* Fix quat keyframe value name

* Error ID

* Fix RealKeyframeValue editor extras

* Elimanate for-of forEach

Co-authored-by: zheng han <sunstar198941@gmail.com>
2021-07-23 11:26:55 +08:00
Leslie Leigh (李的序) 0ddc51ac71 Implements array.move() (#8790) 2021-06-09 11:34:58 +08:00
Leslie Leigh (李的序) 13baf8a845 binarySearch series functions: document and unit test (#8114)
* binarySearch series functions: document and unit test

* Fix lint errors

* Update

* Update

* Update
2021-01-11 11:51:16 +08:00