Closed cptbtptpbcptdtptp closed 1 day ago
The changes involve modifications to the Transform
class in packages/core/src/Transform.ts
, focusing on transformation flags and uniform scaling. New boolean properties _worldUniformScaling
and _localUniformScaling
have been introduced, along with updates to several methods to enhance the management of scaling states. Additionally, a new test case titled "World Scale" has been introduced in tests/src/core/Transform.test.ts
to validate the scaling functionality, while existing tests remain unchanged.
File Path | Change Summary |
---|---|
packages/core/src/Transform.ts | - Reordered import statements. - Added properties: _worldUniformScaling , _localUniformScaling . - Updated methods _updateWorldScaleFlag and _updateWorldPositionAndRotationFlag to accept a flags parameter. - Added getter method _getWorldUniformScaling . - Updated TransformModifyFlags enum with new flags for uniform scaling. |
tests/src/core/Transform.test.ts | - Added new test case: it("World Scale", () => {...}) for testing world scaling functionality. |
script
In the garden of code, where transformations play,
Flags dance and twirl, in a streamlined ballet.
With each little change, our logic grows bright,
Scaling new heights, in the soft coding light.
Hop along, dear friends, let’s celebrate this day! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Attention: Patch coverage is 69.11765%
with 21 lines
in your changes missing coverage. Please review.
Project coverage is 70.76%. Comparing base (
e8e8090
) to head (6c2ea9a
). Report is 41 commits behind head on main.
Files with missing lines | Patch % | Lines |
---|---|---|
packages/core/src/Transform.ts | 69.11% | 18 Missing and 3 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Summary by CodeRabbit
New Features
Bug Fixes
Tests