Jiujiang Liu
3898cf3d47
fix getUniform API bug ( #15333 )
...
Co-authored-by: James Chen <dumganhar@gmail.com >
2023-06-07 15:24:35 +08:00
pandamicro
c8d3be08a3
Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] ( #15273 )
...
* Fix transform update issue when only rotation is set to root node
* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld
* Improve API and test
* Fix native Node::updateWorldTransform
* Fix UITransform.getBoundingBoxTo
* Fix getBoundingBoxTo by ensuring one time rect transform
* Ignore zero sized rect for bounding box calculation
* Improve API doc
2023-06-07 11:10:28 +08:00
Santy-Wang
d3a9b5a8b8
gradient misc optimization and add some helpful function ( #15032 )
...
* gradient misc optimization and add some helpful function
* keep old version and add new interface
* missing .
* mark as engineInternal
2023-05-24 13:59:29 +08:00
李吉林
582654b9df
fix vec2.angle comments ( #14960 )
2023-05-04 17:25:27 +08:00
santy-wang
0a81bf445e
Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2
2023-03-13 16:51:47 +08:00
李吉林
9538714d1b
add moveTowards & rotateTowards ( #14543 )
2023-03-13 10:00:39 +08:00
Yiwen
b6abb65171
Math tune cpp ( #14526 )
...
* fix problem, add missing functions for vec4
* add unit test for math lib, review geom lib, fix comment, clean code
* revert changes on native math lib
* fix typo, cancel deprecates
* fix csm layer frustum usage
* tune document
* restore native changes
* stage math
* correct frustum
* add more unit test
* fix mistakes introduced in the last commit
* add missing changes
* update
* update deprecated information, rename interfaces
* fix operator priority issue
* fix math library related issues
2023-03-12 15:58:07 +08:00
PP
386ec2895a
[cherry-pick] AOT-3: optimize uinstrict code ( #14315 ) ( #14523 )
...
* AOT: optimize uinstrict code
- mark some unstrict code as TODO
- remove some unstrict code
* update comment
* remove ts-check
# Conflicts:
# cocos/2d/framework/deprecated.ts
# cocos/asset/assets/image-asset.jsb.ts
# cocos/asset/assets/texture-base.ts
# cocos/core/assets/image-asset.ts
# cocos/core/math/rect.ts
# cocos/core/scene-graph/scene-globals.jsb.ts
# cocos/native-binding/impl.ts
# cocos/scene-graph/node-dev.ts
# cocos/scene-graph/scene-globals.ts
# exports/sorting.ts
2023-03-10 13:36:45 +08:00
李吉林
e5fe41fbdd
remove abs from rhw in transformMat4 ( #14483 )
2023-03-06 11:03:27 +08:00
李吉林
f4e8b1e03a
fix cpp math library ( #14458 )
...
* fix cpp math library
2023-03-03 17:33:33 +08:00
Yiwen
633f738b07
Math tune ( #14419 )
...
* fix math lib & add unit test
2023-03-02 14:34:53 +08:00
jk20012001
28e216f3d1
treat color.ToVec4 FromVec4 as linear color ( #14433 )
2023-03-02 11:05:13 +08:00
李吉林
04e9f5e593
fix ts math library ( #14385 )
...
* fix ts math library
2023-02-27 16:59:08 +08:00
李吉林
bdffc36ed7
fix mat4 getRotation ( #14183 )
2023-02-09 14:24:20 +08:00
李吉林
30b01bea3f
fix math normalize & angle ( #14174 )
2023-02-08 15:11:16 +08:00
Ling Zhan
ce7e0d05e6
[fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398 ( #14048 ) ( #14053 )
...
* [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398
* tweaks
* tweak
* add HALF_PI, TWO_PI
* toEulerAngle-->toEulerInYXZOrder
2023-01-12 13:59:09 +08:00
李吉林
19a79d6588
improve math api documents ( #13940 )
2022-12-29 11:19:13 +08:00
pandamicro
afd22296b4
MIT license update and to new year 2023 ( #13927 )
...
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
江战
61554d39e6
fix __cid__ & __classname__ attribute ( #13661 )
2022-12-06 10:14:46 +08:00
Leslie Leigh (李的序)
9e396a7182
Optimize mat4 performance in V8 ( #13527 )
2022-11-24 11:16:51 +08:00
Leslie Leigh (李的序)
6f9b229d6e
Implement Vec3.slerp to support spherical interpolation between directional vectors ( #12682 )
...
* Implements Vec3.slerp
* Optimize
* Fix
2022-11-23 20:21:28 +08:00
徐兵
0f8d8cd3d9
reflection probe support instancing and moving update ( #13426 )
2022-11-22 10:16:55 +08:00
江战
db8c0dda7d
fix setWorldScale ( #12988 )
2022-11-08 11:05:26 +08:00
王凯鹏
7f7d85c9d7
Fix native engine bugs in editor ( #13242 )
2022-11-07 15:04:02 +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
江战
7ccd14e6e6
JSB export math class : Vec2/Vec3/Vec4/Quat/Mat3/Mat4/Color ( #12968 )
2022-10-31 17:24:54 +08:00
李吉林
a9d4e13f85
Light probe merge ( #13093 )
...
* add light probe
2022-10-19 22:34:21 +08:00
AFeiYA
1c2a1ba38a
Add srgb transform. ( #12873 )
2022-09-28 14:15:22 +08:00
ChiaNing
d6e1a27001
remove translate function change warn ( #11687 )
...
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-24 11:16:05 +08:00
PP
1c737b91fd
optimize Constants in engine ( #11464 )
...
* publish build-engine 4.3.5
* update build-engine deps
* remove default-constants.ts
ds
remove de
* delete consts.d.ts
* support build-const workflow
* remove EXPORT_TO_GLOBAL
* update comment
* fix interface-check
* update comment
2022-06-14 16:14:34 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
李吉林
cbd547731c
fix math comments ( #10956 )
...
* fix math comments
2022-05-06 11:57:21 +08:00
Santy-Wang
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +08:00
Santy-Wang
8601de5de0
adjust api docs ( #10871 )
...
* adjust api docs
* refine
* add english doc
2022-04-26 19:14:47 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
Santy-Wang
e82cec17ac
update docs ( #10796 )
...
* update docs
* update docs more
* refine
* refine
2022-04-20 18:47:53 +08:00
King Wang
287ad8d01f
fix Return type of set is any in vec3 and some types ( #10722 )
2022-04-14 16:37:21 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
minggo
a6bf766170
Merge branch 'v3.5.0' into v3.6_merge_v3.5
2022-03-29 18:26:40 +08:00
Leslie Leigh (李的序)
9e46834765
Category description ( #10544 )
...
* Category description
* Update
2022-03-28 17:53:45 +08:00
pandamicro
f4aa81d88e
Fix vec3 & vec4 transformAffine ( #10508 )
2022-03-26 19:23:41 +08:00
Leslie Leigh (李的序)
16253687b9
Handle legacyPublic in API doc ( #10456 )
...
* Handle legacy public
* Update
2022-03-23 14:26:27 +08:00
Santy-Wang
ab82e1b42d
remove hidden ( #10414 )
...
* remove hidden
* fix typo
* fix unit-test
* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序)
466d4cf1f9
API documentation: category ( #10435 )
...
* Typdoc: category
* Add categories
* workflow
2022-03-22 13:57:00 +08:00
santy-wang
41fe64b097
Merge branch 'v3.5.0' of https://gitlab.cocos.net/publics/engine into v3.6.0
2022-01-24 17:45:05 +08:00
minggo
e80251eae6
Codes for native ( #9920 )
2022-01-11 17:30:18 +08:00
santy-wang
7ffe1bc031
Merge branch 'v3.4.1' of https://gitlab.cocos.net/publics/engine into v3.5.0
2022-01-06 14:41:28 +08:00
alpha
f153b5cc1b
fix Color.fromHex Bug ( #9867 )
2021-12-28 11:52:01 +08:00
PP
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00