Commit Graph

8 Commits

Author SHA1 Message Date
Ling Zhan e5488b7d32 V3.8.1 box2d wasm experimental (#15979)
* init

* tsconfig.json

* add box2d-wasm backend to cocos engine. not crash now in 3.8.0.

* rigid-body, collider, and joint works now.

* back

* Joint: SetLinearFrequencyAndDampingRatio

* PhysicsRayCastCallback, PhysicsAABBQueryCallback

* box2d wasm debugDraw

* asm.js

* B2PolygonShape uses B2.ConvexPartition

* box2d wasm contact disabled works now.

* add unit test for physics2d.

* b2ContactListenerWrapper::registerContactFixture

* tweak

* drawPolygon transfer array data from wasm to ts

* tweak

* contact event performance opt

* revert to polygon collider 2d to original implementation. no need for libtess any more.

* PostSolve ContactImpulse use raw pointer.

* TransformVector2; debugDraw supports transform

* enable rtti

* WASM_OBJECT_PTR_2_TS_OBJECT, WASM_OBJECT_PTR_2_WASM_OBJECT

* fix PreSolve parameter oldManifold error

* B2.TransformVector2 --> b2Mul(in ts)

* tweaks: code format.

* eslint

* eslint

* remove physics-2d-box2d-wasm from render-config.json

* comment tweaks

* [opt] debug draw performance opt

* tweaks
2023-08-18 19:30:14 +08:00
徐兵 b2b0d09e1d reflection probe planar reflection for native engine (#13281) 2022-11-14 17:37:11 +08:00
李吉林 a9d4e13f85 Light probe merge (#13093)
* add light probe
2022-10-19 22:34:21 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
Zeqiang Li f5c4dee6db Wgpu 3.6.2 WGPU_CI_ON (#12731) 2022-09-16 10:20:52 +08:00
mmyduckx 2ea6e9b148 Remove base node related logics (#11977) 2022-08-23 17:34:36 +08:00
PP 810de3fe68 support number type of engine constant (#12012)
* add constant type for number

* support number type of build time constant

* publish 4.3.11

* update test

* support genCCEnvConstants && publish 4.3.12

* NET_MODE is public, SERVER_MODE is private

* update deps

* fix exportDynamicConstants

* update test

* publish 4.3.14

* update deps

* support JIT is not dynamic

* update lock
2022-07-21 23:33:44 +08:00
PP 7f889a1a78 support ConstantManager (#11392)
* support ConstantManager

update

* add unit test for ConstantManager

handle Escape in unit test

* fix `gulp build-h5-source`

* publish

* update deps

update lock

* update unit test

* merge ConstantManager into StatsQuery && merge cc.config.json

update

* make dynamic ccGlobal optional

* publish 4.3.2 and update deps

* export StatsQuery

* export some interface

* update deps
2022-06-10 13:35:46 +08:00