Commit Graph

31 Commits

Author SHA1 Message Date
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
李吉林 f4e8b1e03a fix cpp math library (#14458)
* fix cpp math library
2023-03-03 17:33:33 +08:00
pandamicro 8eb177b53d Merge remote-tracking branch 'cocos-for-editor/v3.7.0' into develop
# Conflicts:
#	README.md
#	pal/audio/minigame/player-minigame.ts
2022-12-30 19:30:21 +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
minggo 0b10facebc index start from 0 (#13828) 2022-12-15 16:04:33 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
James Chen d1e7907c02 fixed #12176 :Add approxEquals method for Mat3/Mat4/Quaternion/Vec2/Vec3/Vec4. (#12610) 2022-09-01 14:37:18 +08:00
James Chen aba4cd8fa8 The input argument of Mat4::toRTS should be in the first order and const reference, output arguments should be pointer. (#12172) 2022-07-25 10:22:39 +08:00
江战 e7eeab9340 3.6 remove Mat4::transformVector for Vec3 (#12088)
* use Vec3::transformMat4 to replace Mat4::transformVector
2022-07-20 19:02:41 +08:00
James Chen 9a7204143f Fix crash of spine test on Android, revert Mat4 and use enoki::load_unaligned in Vec3::transformMat4Neon (#12076) 2022-07-19 19:23:11 +08:00
James Chen 3025bcd012 [v3.6.0] Optimize se::Object::getPrivateData, math::IsEqualF, Vec3::transformMat4 (#12039) 2022-07-18 14:10:16 +08:00
minggo 271cc5cf23 Remove some format rule (#10919)
* remove some rules
* format all codes with new format rule
2022-05-04 13:09:24 +08:00
minggo cd48cf7106 Replace CCASSERT with CC_ASSERT (#10682)
* replace CCASSERT with CC_ASSEERT
2022-04-10 16:03:46 +08:00
minggo 5410a48a58 Implement more logic in native (#4131)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
Co-authored-by: dumganhar <dumganhar@gmail.com>
Co-authored-by: mmyduckx <308303735@qq.com>
Co-authored-by: Patrice Jiang <397136899@qq.com>
Co-authored-by: 江战 <40414978+PatriceJiang@users.noreply.github.com>
2022-01-07 18:39:40 +08:00
troublemaker52025 46976eff2d Shadow culling for v3.3.1 (#3810) 2021-09-02 19:34:51 +08:00
GengineJS b8f54069c0 [Add] Native scene object update function (#3638) 2021-06-22 16:41:13 +08:00
minggo c98a1251a0 Revert "[add] Native scene object update function (#3602)" (#3634)
This reverts commit 8cc944277f.
2021-06-18 18:12:50 +08:00
GengineJS 8cc944277f [add] Native scene object update function (#3602) 2021-06-18 17:34:06 +08:00
cary 965037568c Modify the memory pool and remove the deprecated code. (#3599) 2021-06-10 09:06:27 +08:00
cary d77dbb3a53 implement scene management in native(#3584) 2021-06-02 17:22:33 +08:00
minggo 826babfa64 Format code (#3217) 2021-01-13 14:49:32 +08:00
minggo affec13856 revert PR3076 (#3118) 2020-12-16 09:35:58 +08:00
troublemaker52025 e4454cb32e fix metal shadow upside down (#3076) 2020-12-12 18:19:38 +08:00
coulsonwang b504111fee sync native pipeline (#2868) 2020-10-12 15:55:02 +08:00
coulsonwang ebb4670ce2 undef __SSE__ (#2864) 2020-09-30 17:29:01 +08:00
coulsonwang de380ae677 fix native pipeline (#2734) 2020-08-31 09:32:13 +08:00
minggo b08407c501 remove CC/cc prefix for file names (#2728) 2020-08-28 15:23:29 +08:00
cary 88dd29cbb4 fix shadow error of 3d-model. (#1777)
* fix shadow error of 3d-model.

* add node judgement
2019-07-24 15:26:12 +08:00
Jare Guo d9bd3d763c update license (#1089)
* updating license

* update license
2018-02-01 15:20:01 +08:00
Wenhai Lin 94c95d5838 Withespaces does matter. 2016-03-31 23:50:02 +08:00
Wenhai Lin a6dbf31dcf cocos 2d lite version 2016-03-29 17:55:48 +08:00