Commit Graph

9 Commits

Author SHA1 Message Date
minggo f993d5e763 use Uint8ClampedArray to save memory (#17047)
* use Uint8ClampedArray to save memory
2024-05-28 14:46:22 +08:00
minggo bc6c2d4d6a Color val delete (#17021)
* remove Color._val, use r, g, b, a instead
2024-05-24 10:18:11 +08:00
Leslie Leigh (李的序) da9c103ad3 Add Vec3.signedAngle (#16013)
* Signed angle

* Update cocos/core/math/vec3.ts

---------

Co-authored-by: Leslie Leigh <leslieleigh@outlook.com>
2023-12-19 11:46:29 +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
pandamicro f4aa81d88e Fix vec3 & vec4 transformAffine (#10508) 2022-03-26 19:23:41 +08:00
ChiaNing a3ed39df86 math function abbreviation delete (#5041)
* math funtion abbreviation delete

* magnitude change
2019-08-01 14:25:39 +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
pandamicro 1a7773c6c8 Add color unit tests (#4995)
* Add color unit tests

* Improve toCSS api
2019-07-29 10:05:01 +08:00
pandamicro 1380e46c34 Unittest (#4973)
* unit test for ts

* Fix ts-jest warnings

* Remove puppeteer for now

* fix physics define and jest config for windows

* Replace Node ref with INode ref

* Fix ci issue

* Fix

* tweak

* tweak

* Fix vscode launcher

* now physics framework export all physics component (#28)

* tweaks
2019-07-25 17:15:20 +08:00