8237 Commits

Author SHA1 Message Date
LA
a15bb4424c 精准虚化图片/视频,可游戏中切换 2026-02-22 22:18:58 +08:00
LA
a36605e2da 全新的穿透虚化容器,自动切换视频、图片虚化 2026-02-22 17:13:33 +08:00
LA
32904b35c8 新增PERSPECTIVE着色器,为BufferedContainer提供透视旋转的2.5D功能 2026-02-21 13:59:42 +08:00
cdwcgt
ca40f0a4d3 Fix instability from near-zero scale by preserving sign when clamping in DrawInfo (#6708)
* Fix instability from near-zero scale by preserving sign when clamping in DrawInfo

* Add test coverage for properly accounting for numerical instability at low draw scale

---------

Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
2026-02-20 14:13:29 +01:00
menvae
5cac7757ff Fix typo in BlendingParameters.translateBlendingFactorSrc & add missing OneMinusSrcColor case (#6707) 2026-02-19 12:49:48 +09:00
Dean Herbert
090a540544 Appease the rider gods 2026-02-10 18:29:40 +09:00
maarvin
c9ee4da7a4 Add double variant for Spring class (#6706)
* Add double variant for spring class

* Fix precedence implicit brackets

---------

Co-authored-by: marvin <m.schuerz@hautzy.com>
Co-authored-by: Dean Herbert <pe@ppy.sh>
2026-02-07 21:30:50 +09:00
Dan Balasescu
5b716dcbef Merge pull request #6702 from minetoblend/fix/uniform-type-typo
Fix typo in uniform typecheck
2026-01-24 11:18:13 +09:00
marvin
2cf8280926 Fix typo in uniform field typecheck 2026-01-23 20:44:32 +01:00
Denis Titovets
23ac694fa2 Add localisation support for displayNames in DirectorySelector's related classes (#6700) 2026-01-19 01:03:25 +09:00
marvin
c317b9a1b8 Add overload for custom easing function to TransformSequence.TransformTo 2026-01-06 06:06:38 +01:00
Andrei Zavatski
16ba5e1067 Use quad batch for path drawing 2026-01-02 16:59:45 +03:00
Andrei Zavatski
705e3829fa Fix path being choppy with small theta difference 2026-01-02 03:55:45 +03:00
Andrei Zavatski
1b194cadde Move connection into segment drawing method 2025-12-27 05:52:12 +03:00
Andrei Zavatski
58438f6273 Merge path caps with the segment 2025-12-25 02:46:21 +03:00
Andrei Zavatski
990042fd60 Simplify connection construction 2025-12-22 03:26:47 +03:00
Andrei Zavatski
b0217dd997 Fix coment typo 2025-12-14 22:12:21 +03:00
Andrei Zavatski
b6d70ad1bd Fix remaining path jitter in some cases 2025-12-14 01:19:56 +03:00
Andrei Zavatski
1c9d6fac78 Merge branch 'master' into path-clenup 2025-12-14 00:28:20 +03:00
Susko3
c44324c671 Simplify dictionary lookups with GetValueOrDefault()
This is flagged by ReShaper under ID
`CanSimplifyDictionaryTryGetValueWithGetValueOrDefault`.
2025-12-13 03:50:45 +01:00
Andrei Zavatski
3581793fd7 Move all segment parts draw into a single place 2025-12-09 01:44:36 +03:00
Andrei Zavatski
30a2a349ac Rework caps/connections conditions 2025-12-09 01:20:22 +03:00
Andrei Zavatski
3950ce19a6 Allow some wiggle room for perpdot 2025-12-09 00:54:33 +03:00
Andrei Zavatski
0fc6bdba9f Simplify end cap draw condition 2025-12-09 00:54:33 +03:00
Andrei Zavatski
ffe54cb070 Minor cleanup and better xmldoc 2025-12-06 15:47:18 +03:00
Andrei Zavatski
f236374187 Fix remaining path jitter in some cases 2025-12-06 12:06:58 +03:00
Andrei Zavatski
247320bb95 Use perpdot to compute whether point lies within the line 2025-12-06 12:06:58 +03:00
Marvin Schürz
4c3004e774 Add spring physics 2025-12-05 13:44:53 +01:00
Andrei Zavatski
c23f135904 Reorder conditions in the connect function and improve xmldoc 2025-11-29 22:28:59 +03:00
Andrei Zavatski
d3d97aaf1b Further reduce branching in the reduction loop 2025-11-29 11:36:13 +03:00
Andrei Zavatski
fa84f32188 Move segment location modifiers outside the struct 2025-11-29 11:21:05 +03:00
Andrei Zavatski
4ab0140485 Rename add methods to draw for clarity 2025-11-29 11:18:01 +03:00
Andrei Zavatski
94da62b296 Simplify caps drawing 2025-11-29 11:15:35 +03:00
Andrei Zavatski
0717703f2d Merge start and middle SegmentStartLocation values 2025-11-29 11:07:43 +03:00
Andrei Zavatski
b98702ebba Skip rho calculation when possible 2025-11-29 11:03:03 +03:00
Andrei Zavatski
9878fb7b4b Simplify segment reduction algorithm 2025-11-29 10:58:42 +03:00
marvin
7e2f91dbd6 Add missing nameof 2025-11-25 00:11:46 +01:00
Dan Balasescu
d44dfb5364 Merge pull request #6658 from EVAST9919/path-no-depth
Further reduce vertex count in `Path`
2025-11-21 15:05:44 +09:00
Dan Balasescu
87ab1e0251 Merge pull request #6673 from minetoblend/feature/cubic-bezier-easing
Add cubic bezier easing function
2025-11-21 14:35:34 +09:00
marvin
cd44386416 Add cubic bezier easing function 2025-11-20 22:20:27 +01:00
Bartłomiej Dach
ed80b5d66b Fix TextBox not allowing minus sign to be input in numerical type textboxes
Noticed in https://github.com/ppy/osu/pull/35742.
2025-11-20 10:53:01 +01:00
Andrei Zavatski
ae1ba34f47 Cleanup connection construction 2025-11-08 23:30:36 +03:00
Andrei Zavatski
b7ad7e8568 Rename SegmentWithThickness to DrawableSegment 2025-11-08 23:13:32 +03:00
Andrei Zavatski
7a0d121ca6 Reduce vertex count again
But without potential missing pixels
2025-11-07 02:22:20 +03:00
Dan Balasescu
0c8bac9b65 Merge pull request #6657 from minetoblend/feature/extract-tab-movement-logic
Move TabbableContainer focus movement logic into helper function
2025-11-05 16:46:07 +09:00
Andrei Zavatski
7b6cd6819a Merge branch 'master' into path-no-depth 2025-11-04 23:33:20 +03:00
Andrei Zavatski
b461871e78 Don't draw anything if path radius is set to 0 2025-11-01 23:35:43 +03:00
Andrei Zavatski
4a7498130d Use max 3 triangles for connections 2025-11-01 23:14:14 +03:00
Andrei Zavatski
55f511311b Use 3 triangles for caps 2025-11-01 22:36:56 +03:00
Andrei Zavatski
0d13fe9551 Merge branch 'master' into path-no-depth 2025-11-01 22:36:08 +03:00