李吉林
9538714d1b
add moveTowards & rotateTowards ( #14543 )
2023-03-13 10:00:39 +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
李吉林
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
李吉林
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
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
李吉林
a9d4e13f85
Light probe merge ( #13093 )
...
* add light probe
2022-10-19 22:34:21 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +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
King Wang
287ad8d01f
fix Return type of set is any in vec3 and some types ( #10722 )
2022-04-14 16:37:21 +08:00
pandamicro
f4aa81d88e
Fix vec3 & vec4 transformAffine ( #10508 )
2022-03-26 19:23:41 +08:00
GengineJS
434249da19
Modify the math library ( #9163 )
...
* Modify the math library
* fix ci
2021-08-12 10:59:09 +08:00
cary
0d474c6362
Fix the action error reported for physical scenes. ( #9102 )
2021-08-02 17:37:05 +08:00
GengineJS
3950b7fac6
Export math library attribute values and fix tween not working ( #8911 )
2021-06-30 11:43:05 +08:00
cary
f37099c294
Change the parameter of the math library to Readonly. ( #8765 )
...
* Change the parameter of the math library to Readonly.
* fix ci
* fix ci
* fix ci
* fix ci
* fix ci
* delete pool
2021-06-04 17:36:15 +08:00
GengineJS
2315b4d2dd
Pipeline memory pool removed ( #8738 )
2021-06-02 17:23:02 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
Jare Guo
0319477911
fix decorator warning of ValueTypes ( #7553 )
...
* fix decorator warning of ValueTypes (sync #6285 )
* refresh copyright
2020-10-21 16:31:41 +08:00
pandamicro
27e36c1179
Merge remote-tracking branch 'origin/3d-v1.1' into 3d-v1.2
...
# Conflicts:
# cocos/core/math/quat.ts
# cocos/core/math/rect.ts
2020-09-28 17:55:37 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
pandamicro
3240dba206
Component rename for new standard and 2d compatibility ( #7103 )
...
* Rename ui related components
* Rename files
* Remove Useless errors
* Fix sealed names
* Fix sealed global variables
* Fix circular reference
* Refactor more component names
* Rename particle and animation related component
* export scene and models sub module in renderer
* Rename ModelComponents to Model
* Refactor LightComponents to Light
* Refactor CameraComponent to Camera
* Refactor ConstraintComponents to Constraint and rename physics comps
* Cleanup and fix issues
* Small fixes
* Refactor Model to MeshRenderer
* Final touch
* Fix data class export
* Better deprecation to cover all old usage
* Simpler and better deprecation with js.setClassAlias
* Fix ci
* Fix editor issue
2020-09-02 15:31:49 +08:00
SijieWang
a9f3969245
Merge remote-tracking branch 'cocos-for-editor/3d-v1.1.1' into 3d
...
# Conflicts:
# cocos/audio/assets/clip.ts
# cocos/core/3d/builtin/effects.ts
# cocos/core/3d/framework/batched-skinning-model-component.ts
# cocos/core/3d/framework/editor-camera-component.ts
# cocos/core/3d/framework/index.ts
# cocos/core/3d/framework/model-component.ts
# cocos/core/animation/animation-clip.ts
# cocos/core/animation/animation-manager.ts
# cocos/core/animation/animation-state.ts
# cocos/core/animation/skeletal-animation-component.ts
# cocos/core/animation/skeletal-animation-state.ts
# cocos/core/assets/mesh.ts
# cocos/core/assets/simple-texture.ts
# cocos/core/assets/sprite-frame.ts
# cocos/core/assets/texture-base.ts
# cocos/core/data/class-decorator.ts
# cocos/core/data/instantiate.ts
# cocos/core/event/event-target.ts
# cocos/core/game.ts
# cocos/core/load-pipeline/CCLoader.ts
# cocos/core/load-pipeline/plist-parser.ts
# cocos/core/load-pipeline/unpackers.ts
# cocos/core/load-pipeline/url.ts
# cocos/core/math/deprecated.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/scene-graph/base-node.ts
# cocos/core/scene-graph/scene-globals.ts
# cocos/terrain/terrain.ts
# predefine.ts
2020-06-03 13:25:42 +08:00
Yun Hsiao Wu
b42de567af
fix skinning model pose calc when missing joint nodes ( #6721 )
...
* fix skinning model pose calc when missing joint nodes
* fix camera.worldToScreen when world pos is behind near plane
* fix batched skinning model material instantiation
2020-05-25 18:05:52 +08:00
Leslie Leigh (李的序)
5e2adea787
Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… ( #6680 )
...
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'
* Fix CI
* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
ChiaNing
22c13ad2fd
math lib api translate ( #6495 )
...
* en api for math
* update
* update
* update
* fix
* fix
* update
* param update
2020-05-09 12:47:29 +08:00
ChiaNing
2c16f2119f
math lib global value remove ( #6446 )
2020-03-30 13:48:56 +08:00
Leslie Leigh (李的序)
9a6c49dd70
Add declare modifier to math classes ( #6445 )
...
* Add `declare` modifier to math classes
* Fix
2020-03-30 12:22:32 +08:00
Yun Hsiao Wu
fcf1aa57f0
fix node forward ( #6155 )
2020-02-11 18:02:50 +08:00
Unknown
3247738be5
Fix error definination
2020-01-19 18:18:03 +08:00
ftershock
de32d9b22d
API Doc update ( #5481 )
...
* update
* API Doc update
* API Doc update
* API Doc update
* API Doc update
2019-10-12 10:18:27 +08:00
Yun Hsiao Wu
473db86706
get default texture from effect first ( #5412 )
...
* vec3.transformInverseRTS
* linter fix
* get default texture from effect first
2019-09-18 16:58:09 +08:00
Yun Hsiao Wu
f7a5f70d67
fix node position update ( #5409 )
2019-09-18 16:05:28 +08:00
jiaxin.lai
3025fdcdd2
fix bug of center not update ( #5393 )
...
* modify api doc
* fix bug of center not update
2019-09-17 10:37:53 +08:00
Yun Hsiao Wu
9db6e9b49a
lazy eval memory heavy animation data conversions ( #5382 )
...
* fix interface
* lazy eval memory heavy animation data conversions
2019-09-12 18:35:29 +08:00
Yun Hsiao Wu
fdfcd89265
fix Vec3.cross ( #5371 )
2019-09-11 16:44:16 +08:00
Yun Hsiao Wu
ea923922ba
partial handle & Pass.getUniform ( #5356 )
...
* linter fix
* partial handle & getUniform
2019-09-10 10:35:02 +08:00
Weiliang Wang
a492f59b17
modify visibility test ( #5226 )
...
* add transformAffine()
* modify visibility test
* remove duplicate code
2019-08-22 05:48:40 -05:00
Weiliang Wang
7cc9c11167
add transformAffine() ( #5199 )
2019-08-20 05:22:46 -05:00
Yun Hsiao Wu
ff19a901c1
refine details ( #5164 )
...
* effect adapt
* restore tslint
* refine math constants
2019-08-15 21:52:32 -05: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
2c3cf20bb7
value-types API change ( #5014 )
2019-07-30 16:45:06 +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