Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
376 commits
Select commit Hold shift + click to select a range
21cebb9
Docs: Add TODO comments for renaming drawing methods and updating doc…
SoloByte Feb 2, 2026
dd4f83e
Refactor: ShapeClipper Class Conversion function improvements and cle…
SoloByte Feb 2, 2026
8d2686a
Feat: Added new RoundCopy function with ref parameter.
SoloByte Feb 2, 2026
c7ff0f1
Refactor: Added new regions for Helper Members and Getters.
SoloByte Feb 2, 2026
70ddd6b
Refactor: Triangulation based functions moved from PolygonDrawing and…
SoloByte Feb 2, 2026
9c85e76
Todo: Todos added to CircleDrawing.cs
SoloByte Feb 2, 2026
5235cc0
Fix: Updated polygon drawing method to use DrawLines (DrawLinesFast w…
SoloByte Feb 2, 2026
11419a2
Refactor: Changed AsteroidShard drawing to full triangles instead of …
SoloByte Feb 2, 2026
e92720d
Refactor: Regions added to ShapeDrawing.cs
SoloByte Feb 3, 2026
79daa02
Refactor: More clean up.
SoloByte Feb 3, 2026
4c32065
Refactor: Relative points methods removed
SoloByte Feb 3, 2026
739c6cf
Refactor: Triangulation, OutlineTriangulation, OutlinePerimeterTriang…
SoloByte Feb 4, 2026
d48f09f
Add: DrawVertices method moved to Points.cs to render circles at each…
SoloByte Feb 4, 2026
e8c8de4
Refactor: Clean up and simplify DrawGapped method in GappedDrawing.cs
SoloByte Feb 4, 2026
a635af2
Refactor: DrawVertices method removed (Points.cs now has this function)
SoloByte Feb 4, 2026
dd8f1a2
Refactor: ShapeDrawing.cs removed.
SoloByte Feb 4, 2026
39ef49e
Docs: Missing xml summaries added to PolygonDrawing.cs methods.
SoloByte Feb 4, 2026
5f47704
Todo: Todos added for looking at DrawSlantedCorners with transparent …
SoloByte Feb 4, 2026
905eea0
Refactor: Some cleanup with regions.
SoloByte Feb 5, 2026
dff2445
Feat: DrawCorneredTransparent started.
SoloByte Feb 5, 2026
67f0594
Todo: Notes added for necessary changes + some debug functions added.
SoloByte Feb 5, 2026
8b1cc1f
Feat: DrawCornerAbsolute method finshed
SoloByte Feb 5, 2026
9129a3a
Fix: ContentPack GetFileData now looks for windows & unix style path …
SoloByte Feb 9, 2026
9c71020
Feat: DrawCorneredTransparent improvements.
SoloByte Feb 10, 2026
15dcd25
Feat: DrawCorneredTransparent version finished. (They are actually fa…
SoloByte Feb 10, 2026
c8f63a5
Fix: DrawCornered variants index wrapping added to fix crashes.
SoloByte Feb 10, 2026
ad33c94
Feat: DrawLinesConvex started.
SoloByte Feb 10, 2026
47f0456
Feat: DrawLinesConvex is now working correctly.
SoloByte Feb 11, 2026
7a96b41
Feat: DrawLinesConvex finished with docs and GetConvexPolygonMaxLineT…
SoloByte Feb 11, 2026
3867685
Feat: DrawLinesTransparent overhaul started.
SoloByte Feb 11, 2026
80708b7
Docs: DrawCorneredAbsoluteTransparent, DrawCorneredRelativeTransparen…
SoloByte Feb 12, 2026
f61fe2b
Refactor: Moved CalculatePolygonMaxLineThickness from PolygonDrawing.…
SoloByte Feb 12, 2026
7776515
Feat: DrawLinesPerimeterTransparent & DrawsLinesPercentageTransparent…
SoloByte Feb 12, 2026
3654d67
Feat: miterLimit and beveled parameters added to DrawLinesPerimeter/P…
SoloByte Feb 12, 2026
ccd6c7c
Feat: Basic DrawLinesPerimeterTransparent works now.
SoloByte Feb 13, 2026
005c6db
Fix: WrapIndex now correctly handles negative indices that are lower …
SoloByte Feb 16, 2026
1a24937
Feat: DrawLinesPerimeterTransparent function now works correctly with…
SoloByte Feb 16, 2026
acc3ec6
Feat: New DrawRoundCap function added
SoloByte Feb 16, 2026
f4c9390
Feat: DrawLinesPerimeterTransparent methods finished.
SoloByte Feb 16, 2026
ae647a0
Docs: Missing xml summaries added to Percentage/Perimeter drawing fun…
SoloByte Feb 16, 2026
75fc510
Feat: All predefined colors in System.Drawing.Color added as static p…
SoloByte Feb 16, 2026
d8bf225
Feat: Implicit Conversion added.
SoloByte Feb 16, 2026
e093b53
Refactor: Clear color removed (replaced by transparent)
SoloByte Feb 16, 2026
ab5c013
Refactor: Region renamed.
SoloByte Feb 17, 2026
cd8f76d
Feat: Added new GenerateCircleSectorOutlineTriangulation method.
SoloByte Feb 17, 2026
2e4b0a3
Feat: DrawCircleSectorLinesClosedInternal draws the closing segments …
SoloByte Feb 17, 2026
63aa6e9
Feat: Add ToPositiveAngleRad method to convert angles to positive equ…
SoloByte Feb 18, 2026
11886b7
Feat: DrawCircleSectorLinesClosedFastInternal added for opaque colors.
SoloByte Feb 18, 2026
85e9483
Feat: DrawCircleSectorLinesClosedInternal now works with negative dir…
SoloByte Feb 18, 2026
0f62c67
Feat: CalculateCircleDrawingParameters implemented in CircleDrawing.cs
SoloByte Feb 18, 2026
a0511d8
Refactor: Some Clean up.
SoloByte Feb 18, 2026
48b6d5e
Fix: Inverse and GetFactor now clamp value between Min and Max
SoloByte Feb 19, 2026
a3f04a4
Feat: GetRect() and GetCircle() method added.
SoloByte Feb 19, 2026
9dfed04
Feat: LerpInverse() function added.
SoloByte Feb 19, 2026
e342f12
Refactor: CircleDrawing.cs smoothness parameter added and any sides/s…
SoloByte Feb 19, 2026
04a3242
Feat: GetCircleSmoothness functions added to CircleDrawing.cs
SoloByte Feb 20, 2026
9745b7a
Refactor: A lot of cleanup in CircleDrawing.cs, a lot of internal alg…
SoloByte Feb 20, 2026
fafadc4
Feat: Add ScaleSegment method to SegmentMath.cs for scaling segments …
SoloByte Feb 23, 2026
f9585a6
Refactor: Adjust ScaleSegment method parameters for improved clarity
SoloByte Feb 23, 2026
34e2927
Refactor: Regions moved around to be clearer.
SoloByte Feb 23, 2026
4de9fa9
Feat: DrawPercentage function added.
SoloByte Feb 23, 2026
d9c77db
Refactor: Remove commented-out code in CircleDrawing.cs for cleaner i…
SoloByte Feb 23, 2026
ee439ce
Refactor: RingDrawing.cs redundent functions removed and class cleane…
SoloByte Feb 23, 2026
e5513ca
Refactor: RingDrawing.cs removed and all functions moved to CircleDra…
SoloByte Feb 23, 2026
2dbf29c
Fix: DrawSegment with LineCapType.Capped lo longer shrinks beyond seg…
SoloByte Feb 24, 2026
a43a32f
Refactor: Old docs removed.
SoloByte Feb 24, 2026
c865854
Fix: Fixed DrawSectorLine calls in Examples.
SoloByte Feb 24, 2026
9783d93
Docs: Added new xml summaries and updated existing xml summaries in C…
SoloByte Feb 24, 2026
d17b56b
Docs: Added XML summaries for DrawRoundCap methods in SegmentDrawing.cs
SoloByte Feb 24, 2026
b49580b
Docs: Various xml summaries updated with smoothness parameter.
SoloByte Feb 24, 2026
e8fb548
Feat: Added CalculateMaxLineThickness to TriangleMath (moved from Tri…
SoloByte Feb 25, 2026
e48a42b
Feat: Added IsCollinear method to TriangleMath for collinearity check
SoloByte Feb 25, 2026
7f2a0e7
Feat: Added GetIncenter method to TriangleMath for calculating the in…
SoloByte Feb 25, 2026
7803600
Feat: Refactor CalculateMaxLineThickness to use incenter calculation …
SoloByte Feb 25, 2026
32e014e
Refactor: TriangleMath CalculateMaxLineThickness removed.
SoloByte Feb 25, 2026
8d3048e
Merge branch 'main' into circle-poly-improved-outline-drawing
SoloByte Feb 25, 2026
71a865c
Feat: Static Class TriangleBatcher implemented.
SoloByte Feb 26, 2026
938a646
Docs: Xml summaries added.
SoloByte Feb 26, 2026
eabe7ba
Docs: some xml summaries improved.
SoloByte Feb 26, 2026
4d71e39
Feat: TriangleBatcher now caches set color and resets to this color a…
SoloByte Feb 26, 2026
7c05b78
Refactor: TriangleBatcher and TriangleBatch unified into the same class.
SoloByte Feb 26, 2026
3610aff
Feat: Simple PerformanceMeasureWatch added.
SoloByte Feb 26, 2026
9d6ba42
Refactor: GetData() function added.
SoloByte Feb 26, 2026
479e5c1
Refactor: Data changed to TimeSpan from ticks (long).
SoloByte Feb 26, 2026
479b950
Docs: xml summaries added.
SoloByte Feb 26, 2026
82c8faf
Docs: Xml summary updated.
SoloByte Feb 26, 2026
394111e
Refactor: Todo removed.
SoloByte Feb 26, 2026
cb6e0d3
Feat: TriangleDrawing DrawLinesPercentage finished.
SoloByte Feb 27, 2026
230ba37
Docs: Xml summaries finished.
SoloByte Feb 27, 2026
f42544b
Docs: Xml summaries finished.
SoloByte Feb 27, 2026
1e414a2
Refactor: New Regions added
SoloByte Feb 27, 2026
9bf0893
Feat: Add ToQuad method to convert rectangle to quadrilateral
SoloByte Feb 27, 2026
6801610
Feat: Add methods to get the minimum and maximum side lengths of a tr…
SoloByte Feb 27, 2026
57121a2
Feat: Add LerpByLength method for vector interpolation by distance
SoloByte Feb 27, 2026
6a2f79c
Feat: Added DrawCorners and DrawCornersRelative
SoloByte Feb 27, 2026
0918afb
Refactor: RectDrawing cleanup based on QuadDrawing (most non-extensio…
SoloByte Feb 27, 2026
2d947c8
Feat: QuadMath Size, DiagonalLength, DiagonalLengthSquared, RotationR…
SoloByte Mar 2, 2026
3cc86e4
Merge branch 'main' into circle-poly-improved-outline-drawing
SoloByte Mar 2, 2026
ff5d0bb
Refactor: QuadDrawing DrawCorners and DrawCornersRelative reworked
SoloByte Mar 3, 2026
e52d27a
Feat: New DrawCorners function a working 100% correctly now.
SoloByte Mar 3, 2026
5881f12
Docs: Added xml summaries to DrawCorners and DrawCornersRelative func…
SoloByte Mar 3, 2026
1fca653
Refactor: DrawSlanterCorners with 4 cornerLengths reworked to not use…
SoloByte Mar 4, 2026
b206fcf
Refactor: QuadDrawing and RectDrawing DrawSlantedCorners functions (a…
SoloByte Mar 4, 2026
2f096c8
Refator: DrawChamferedCornerLines thickness parameter renamed to line…
SoloByte Mar 4, 2026
f7462f6
Refactor: DrawChamferedCornerLines thickness parameter renamed to lin…
SoloByte Mar 4, 2026
4921aa9
Todos: Notes for problems added.
SoloByte Mar 4, 2026
04d5f3d
Todo: Notes for problem ChangeSize/SetSize/ScaleSize functions added.
SoloByte Mar 4, 2026
c10c77d
Feat: Right Triangle Math region added.
SoloByte Mar 6, 2026
dba2c71
Feat: DrawChamferedCornersLines with cornerLength parameter works now.
SoloByte Mar 6, 2026
f33dd89
Feat: Add functions to calculate isosceles triangle side and base len…
SoloByte Mar 9, 2026
86f1eb7
Refactor: QuadDrawing DrawChamferedCornersLines cleanup started.
SoloByte Mar 10, 2026
5844811
Refactor: DrawChamferedCornersLines more cleanup.
SoloByte Mar 10, 2026
4b638b9
Fix: QuadDrawing DrawChamferedCornersLines fixed with clamping corner…
SoloByte Mar 10, 2026
b7a0866
Refactor: DrawCorner and DrawEdge functions moved from DrawChamferedC…
SoloByte Mar 10, 2026
698c48a
Fix: DrawChamferedCornersLines with 1 and 2 cornerLength parameters f…
SoloByte Mar 11, 2026
eff739b
Refactor: Improvements to DrawChamferedCornersLines with 4 corner len…
SoloByte Mar 11, 2026
8aac51d
Refactor: Some more clean up.
SoloByte Mar 12, 2026
b3aa5b8
Feat: InsetConvexPolygon system added. (needed for chamfered rect/qua…
SoloByte Mar 12, 2026
bad2147
Feat: Enhance InsetConvex and add TriangulateConvexOutline functions …
SoloByte Mar 13, 2026
76be540
Refactor: Cleanup of chamfered corner lines helpers.
SoloByte Mar 13, 2026
d2b99c5
Feat: QuadDrawing all DrawChamferedCornerLines and DrawChamferedCorne…
SoloByte Mar 13, 2026
ae6ba99
Refactor: QuadDrawing DrawLines and DrawLinesPercentage cleanup.
SoloByte Mar 13, 2026
ef74e76
Docs: Xml summaries added to DrawChamferedCornersLines & DrawChamfere…
SoloByte Mar 14, 2026
73e3a5f
Refactor: Some Quad constructors reworked.
SoloByte Mar 14, 2026
aa86256
Fix: Changed ScaleSize function in rect to ChangeSize function and it…
SoloByte Mar 14, 2026
b14f664
Refactor: Quad changed Center calculation to cheaper method and remov…
SoloByte Mar 14, 2026
a88faf1
Feat: Add methods to negate width and height in Size class
SoloByte Mar 14, 2026
3b27880
Feat: Added Inverse function to Size struct.
SoloByte Mar 14, 2026
c35683a
Refactor: Quad Position, Size, and Rotation related functions overhau…
SoloByte Mar 14, 2026
bcb939c
Docs: Added xml summaries to Size, Rotation, and Transform functions.
SoloByte Mar 14, 2026
3242d16
Refactor: Simplify corner length checks and adjust line thickness in …
SoloByte Mar 16, 2026
60fc5cc
Refactor: RectDrawing cleanup.
SoloByte Mar 16, 2026
50bcb6a
Refactor: Remove TODO comments and clean up whitespace in RectDrawing
SoloByte Mar 16, 2026
90945d0
Docs: Remaining function documented.
SoloByte Mar 16, 2026
a88e462
Refactor: All functions from GappedDrawing.cs moved to the shapes *Dr…
SoloByte Mar 16, 2026
9524157
Refactor: Update RotateToQuad method to use pivot parameter and simpl…
SoloByte Mar 16, 2026
632271e
Docs: Documented UI drawing functions
SoloByte Mar 16, 2026
6c46da6
Feat: Added ShapeDrawingTestExample to demonstrate various shape draw…
SoloByte Mar 16, 2026
98f6c13
Fix: Fixed incorrect font scaling in TextFont.Draw with rotDeg parame…
SoloByte Mar 16, 2026
2710f81
Refactor: Simplify ShapeDrawingTestExample by removing unused paramet…
SoloByte Mar 16, 2026
3dc9f97
Refactor: Remove unnecessary blank line in TriangleDrawing.cs
SoloByte Mar 17, 2026
11e50cd
Refactor: Remove unused method call in ShapeDrawingTestExample
SoloByte Mar 17, 2026
b46d0cf
Feat: PingPong tween added.
SoloByte Mar 17, 2026
d87e005
Feat: ControlNode IsDown system added alongside the Pressed system.
SoloByte Mar 17, 2026
38f98b8
Refactor: Remove unused using directive and clean up comments in Cont…
SoloByte Mar 17, 2026
65dcba5
Docs: Added PingPong function xml summary.
SoloByte Mar 17, 2026
f6fe990
Docs: Missing xml summaries added to ControlNode.cs functions.
SoloByte Mar 17, 2026
928ea7f
Feat: ClipperImmediate2D.cs started.
SoloByte Mar 17, 2026
4ce4d86
Refactor: Small improvements and fixes.
SoloByte Mar 18, 2026
965be09
Todo: ShapeClipper todos added
SoloByte Mar 18, 2026
988d4a1
Refactor: regions added to ClipperImmediate2D
SoloByte Mar 18, 2026
84dce21
Todo: Todos refactored for clear structure of what to do next.
SoloByte Mar 18, 2026
e9d9a34
Todo: Todos updated
SoloByte Mar 18, 2026
aa85ef7
Refactor: Clipper wrapping refactor started.
SoloByte Mar 20, 2026
71db84a
Refactor: ClipperImmediate2D clean up.
SoloByte Mar 21, 2026
15e09d5
Refactor: ShapeClipper overhaul finished. (Major overhaul of Clipper2…
SoloByte Mar 25, 2026
b8fb003
Refactor: Points & PointsMath cleanup.
SoloByte Mar 26, 2026
8b5e00d
Docs: Xml summaries updated / added for Points.cs and PointsMath.cs.
SoloByte Mar 26, 2026
aa6f6fb
Refactor: Segments cleanup.
SoloByte Mar 26, 2026
2de8a1b
Fix: Polygon, Rect, and Triangle GetRandomPointsOnEdge() function fixed.
SoloByte Mar 26, 2026
c7a418e
Docs: Cleaned up / Updated / Added Docs for new changes.
SoloByte Mar 26, 2026
7c72637
Refactor: ConvexHull system moved from PolygonConvexHull.cs to Points.
SoloByte Mar 26, 2026
72dbc28
Refactor: GetProjectedShapePoints result parameter overload added to …
SoloByte Mar 26, 2026
f322a5a
Todo: Todo added.
SoloByte Mar 26, 2026
a6b6477
Docs: Missing docs added.
SoloByte Mar 28, 2026
16303d4
Docs: Docs updated.
SoloByte Mar 28, 2026
1b232ba
Refactor: some functions improved with buffers.
SoloByte Mar 28, 2026
9dd9181
Docs: Xml summaries added to all functions
SoloByte Mar 28, 2026
0c9804a
Refactor: Polygon/Polyline transform functions moved to parent Points…
SoloByte Mar 28, 2026
7c9cc5c
Refactor: PolygonStatic.cs removed and functions moved to Polygon.cs.
SoloByte Mar 30, 2026
629d473
Docs: Xml summaries added.
SoloByte Mar 30, 2026
787ce1a
Refactor: Some function implementations improved + new result paramet…
SoloByte Mar 30, 2026
46d1e62
Docs: Added missing xml summaries.
SoloByte Mar 30, 2026
f90352c
Docs: Added missing xml summaries.
SoloByte Mar 30, 2026
06fde6b
Refactor: Cleanup + result parameter overloads added
SoloByte Mar 30, 2026
0e208ed
Docs: missing xml summaries added.
SoloByte Mar 30, 2026
570efc4
Todo: Old todos removed.
SoloByte Mar 30, 2026
2104845
Fix: Triangulate calls parameter order fixed.
SoloByte Mar 30, 2026
d0f4907
Todo: Todos removed.
SoloByte Mar 30, 2026
b792781
Refactor: Added bool useBuffer = false parameter to all ProjectShape …
SoloByte Mar 31, 2026
bb8fd37
Refactor: PolygonToPolylinePerimeter renamed to ToPolylinePerimeter a…
SoloByte Mar 31, 2026
f614795
Todo: Todos cleaned up and new ones added.
SoloByte Mar 31, 2026
72a1ad9
Refactor: TriMesh improved, cleanup, and finished.
SoloByte Mar 31, 2026
5cda226
Refactor: HashCode system and Equality check overhauled for shapes an…
SoloByte Mar 31, 2026
5d62737
Refactor: ShapeClipperScale renamed to DecimalPrecision.cs and moved …
SoloByte Apr 1, 2026
be78c14
Refactor: DecimalPrecision.cs cleanup and Fnv1aHashQuantizer improvem…
SoloByte Apr 1, 2026
6152eca
Refactor: GameStatic.cs IsEqual(List<T>) and GetHashCode(IEnumerable<…
SoloByte Apr 1, 2026
096a579
Docs: Xml summaries added to DecimalQuantizer.cs and Fnv1aHashQuantiz…
SoloByte Apr 1, 2026
7ac873b
Todo: Old todo removed.
SoloByte Apr 1, 2026
9ebbc2b
Refactor: QuadDrawing DrawChamferedCornersLines and DrawChamferedCorn…
SoloByte Apr 2, 2026
490f47e
Feat: ClipperImmediate2D.cs Conversion functions between LineCapType …
SoloByte Apr 2, 2026
e17cab9
Feat: ClipperImmediate2D.cs CreatePolygonOutlineTriangulationPerimete…
SoloByte Apr 2, 2026
28e200c
Docs: Xml summaries fixed in PolygonMath.cs and PolylineMath.cs.
SoloByte Apr 2, 2026
028ca02
Docs: Xml summaries added / updated to various files in the ShapeClip…
SoloByte Apr 3, 2026
13ee231
Refactor: Triangulation Subdivide and Triangle Triangulate improvemen…
SoloByte Apr 3, 2026
7a69fd1
Feat: SobelOutline shader added.
SoloByte Apr 3, 2026
7227c95
Refactor: Darkness.frag shader improved.
SoloByte Apr 3, 2026
f796660
Feat: MainScene now disables all active screen shaders when activated…
SoloByte Apr 3, 2026
9c1d0c0
Refactor: AlphaShader improved.
SoloByte Apr 3, 2026
3d8f66c
Refactor: Blur shader simplified and improved.
SoloByte Apr 3, 2026
f54f50a
Refactor: ChromaticAberrationShader.frag improved.
SoloByte Apr 3, 2026
ac566db
Refactor: Remove commented-out debug code from GameloopExamples.cs
SoloByte Apr 3, 2026
661628b
Refactor: Bloom shader improved.
SoloByte Apr 3, 2026
97beb55
Refactor: OverdrawShader renamed to TintShader.frag.
SoloByte Apr 6, 2026
f37f933
Feat: GrayscaleShader.frag added.
SoloByte Apr 6, 2026
9d72157
Feat: Added Multi-Source ExplosionShockwaveShader.frag
SoloByte Apr 6, 2026
17a5b57
Feat: ToRelativePointCentered and ToAbsolutePointCentered added.
SoloByte Apr 6, 2026
2448e48
Feat: Shockwave explosion shader effect system added to EndlessSpaceC…
SoloByte Apr 6, 2026
3142bfe
Refactor: Endless Space Example ship laser beam color changed.
SoloByte Apr 6, 2026
680dda4
Refactor: PolygonDrawing and PolylineDrawing.cs reworked with Clipper…
SoloByte Apr 7, 2026
af2f3ed
Refactor: Fixed ToPolylinePercentage and ToPolylinePerimeter with pol…
SoloByte Apr 7, 2026
1fadb8f
Refactor: Functions renamed.
SoloByte Apr 7, 2026
f1f4f44
Refactor: Cleanup and new Hash system added.
SoloByte Apr 7, 2026
d7a36e9
Feat: ValueRangeColor added.
SoloByte Apr 7, 2026
3513f75
Refactor: ValueRange.cs improved.
SoloByte Apr 7, 2026
5a1ad59
Feat: ClipperImmediate2D.cs DrawPolygonOutlineGlow and DrawPolylineGl…
SoloByte Apr 7, 2026
eaaaf6b
Refactor: PolylineDrawing.cs old *Fast functions removed.
SoloByte Apr 8, 2026
1f29696
Todo: Old Todos removed.
SoloByte Apr 8, 2026
d98c7fe
Refactor: Remove unused PointsDef import from PolygonContainsStatic.cs
SoloByte Apr 8, 2026
2d292e2
Refactor: ClipperImmediate2D.cs renamed to ShapeClipper2D.cs
SoloByte Apr 8, 2026
98c0a5c
Refactor: ShapeClipper2D.cs split into 3 more classes: ShapeClipperCo…
SoloByte Apr 8, 2026
5b0fe08
Todo: Added todo to DelaunayExample.cs to address incorrect result ge…
SoloByte Apr 8, 2026
cf7190a
Refactor: All shape drawing static classes changed to partial classes…
SoloByte Apr 8, 2026
aadc52b
Docs: Missing xml summaries added.
SoloByte Apr 9, 2026
ee97dc5
Refactor: clipEngine member moved out of helper region.
SoloByte Apr 9, 2026
2d548f5
Feat: ShapeClipperTriangulation2D.cs create masked triangulation func…
SoloByte Apr 9, 2026
7de8055
Docs: Missing documentation added to ShapeClipperOffset.cs, ShapeClip…
SoloByte Apr 9, 2026
2347868
Docs: Update parameter documentation for smoothness in Points.cs
SoloByte Apr 9, 2026
a3017d4
Fix: Points TriangulatePointCloud() fixed.
SoloByte Apr 9, 2026
e3fec38
Feat: Add SharesEdge and SharesEdgeSimilar to Triangle.cs
SoloByte Apr 10, 2026
9ca809d
Docs: Added missing xml summaries to Segments.cs
SoloByte Apr 10, 2026
a527525
Refactor: Points TriangulatePointCloud buffers added.
SoloByte Apr 10, 2026
e1acf80
Refactor: .net sdk updated to 10.0
SoloByte Apr 10, 2026
438d61f
Refactor: All striped drawing functions moved into the shape structs/…
SoloByte Apr 11, 2026
d8bbfd8
Refactor: GenerateStripedSegments functions changed to using a Segmen…
SoloByte Apr 13, 2026
47a2ce2
Refactor: Striped drawing files renamed to *DrawingStriped.cs
SoloByte Apr 13, 2026
6c573b2
Refactor: Changed RingDrawingStriped.cs functions to circle instance …
SoloByte Apr 13, 2026
4412d68
Todo: Old todo removed.
SoloByte Apr 14, 2026
102872b
Refactor: Cleanup.
SoloByte Apr 14, 2026
0026d4e
Refactor: Clean up.
SoloByte Apr 14, 2026
f22f2f8
Refactor: ShapePhysics.cs overhaul and cleanup pass.
SoloByte Apr 14, 2026
af75455
Refactor: A final PhysicsObject.cs and ShapePhysics.cs cleanup pass.
SoloByte Apr 14, 2026
a4281bd
Refactor: Stats namespace cleanup pass.
SoloByte Apr 14, 2026
f5ffb2f
Refactor: Update Measurement struct to use nullable TimeSpan for Start
SoloByte Apr 15, 2026
2706ecc
Refactor: Change buffer variables in FractureHelper to readonly
SoloByte Apr 15, 2026
7fb050c
Refactor: Normalize TweenType enum values to uppercase
SoloByte Apr 15, 2026
b699429
Fix: Update circleSideSlider reset value
SoloByte Apr 15, 2026
622b573
Refactor: Simplify color calculation in LaserBeam rendering
SoloByte Apr 15, 2026
1519f3c
Docs: Fixed xml summaries
SoloByte Apr 15, 2026
8c496a7
Refactor: ScreenInfo RelativeMousePos and RelativeMousePosCentered fi…
SoloByte Apr 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Examples/Examples.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<RunWorkingDirectory>$(MSBuildThisFileDirectory)</RunWorkingDirectory>
<Nullable>enable</Nullable>
Expand Down
316 changes: 282 additions & 34 deletions Examples/GameloopExamples.cs

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion Examples/PayloadSystem/PayloadDeliverySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ public void Update(float dt)
{
var payload = payloads[i];
payload.Update(dt);
if(payload.IsFinished()) payloads.RemoveAt(i);
if(payload.IsFinished())
{
payloads.RemoveAt(i);
}
}


Expand Down
10 changes: 8 additions & 2 deletions Examples/Resources/Shaders/AlphaCircle.frag
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ in vec2 fragTexCoord;
out vec4 finalColor;
uniform sampler2D texture0;

uniform float renderWidth = 800.0;
uniform float renderHeight = 450.0;
uniform vec2 origin = vec2(0, 0);
uniform float minDis = 0.25;
uniform float maxDis = 1;
//uniform float threshold = 0.5;

void main()
{
vec2 uv = (fragTexCoord * 2) - 1;
float dis = length(uv - (origin * vec2(1, -1)));
vec2 uv = fragTexCoord;
vec2 center = vec2(origin.x, 1.0 - origin.y);
vec2 delta = uv - center;
float aspect = renderWidth / max(renderHeight, 1.0);
delta.x *= aspect;
float dis = length(delta);
float f = 0;

if(dis > minDis) f = dis - minDis / maxDis - minDis;
Expand Down
61 changes: 43 additions & 18 deletions Examples/Resources/Shaders/BloomShader.frag
Original file line number Diff line number Diff line change
Expand Up @@ -13,33 +13,58 @@ out vec4 finalColor;

// NOTE Add here your custom variables

uniform vec2 size = vec2(800, 450); // Framebuffer size
uniform float samples = 5.0; // Pixels per axis; higher = bigger glow, worse performance
uniform float quality = 2.5; // Defines size factor: Lower = smaller glow, better quality
//uniform vec4 targetColor = vec4(1.0, 0.498, 0.314, 1.0);
//uniform float targetThreshold = 0.25;
uniform vec2 size = vec2(800, 450); // Framebuffer size in pixels
uniform float threshold = 0.75; // Only pixels brighter than this contribute to bloom
uniform float softThreshold = 0.15; // Smooth threshold band to avoid harsh cutoffs
uniform float blurSpread = 5.0; // Sample radius in pixels
uniform float bloomIntensity = 3.0; // Strength of the bloom contribution


void main()
{
vec4 sum = vec4(0);
vec2 sizeFactor = vec2(1)/size*quality;

// Texel color fetching from texture sampler
vec4 source = texture(texture0, fragTexCoord);
vec2 texelSize = vec2(1.0) / max(size, vec2(1.0));
vec2 spread = texelSize * max(blurSpread, 0.0);

vec2 offsets[9] = vec2[](
vec2( 0.0, 0.0),
vec2(-1.0, 0.0),
vec2( 1.0, 0.0),
vec2( 0.0, -1.0),
vec2( 0.0, 1.0),
vec2(-1.0, -1.0),
vec2( 1.0, -1.0),
vec2(-1.0, 1.0),
vec2( 1.0, 1.0)
);

float weights[9] = float[](
0.227027,
0.121622,
0.121622,
0.121622,
0.121622,
0.071351,
0.071351,
0.071351,
0.071351
);

const int range = 2; // should be = (samples - 1)/2;
vec3 bloom = vec3(0.0);

for (int x = -range; x <= range; x++)
for (int i = 0; i < 9; i++)
{
for (int y = -range; y <= range; y++)
{
sum += texture(texture0, fragTexCoord + vec2(x, y)*sizeFactor);
}
vec4 sampleTexel = texture(texture0, fragTexCoord + offsets[i] * spread);
vec3 sampleColor = sampleTexel.rgb * sampleTexel.a;
float brightness = dot(sampleColor, vec3(0.2126, 0.7152, 0.0722));
float brightMask = smoothstep(threshold - softThreshold, threshold + softThreshold, brightness);
bloom += sampleColor * brightMask * weights[i];
}

// Calculate final fragment color
finalColor = ((sum/(samples*samples)) + source)*colDiffuse;
vec3 bloomContribution = bloom * max(bloomIntensity, 0.0);
vec3 finalRgb = source.rgb + bloomContribution;
float bloomAlpha = clamp(max(max(bloomContribution.r, bloomContribution.g), bloomContribution.b), 0.0, 1.0);
float finalAlpha = max(source.a, bloomAlpha);


finalColor = vec4(finalRgb, finalAlpha) * colDiffuse;
}
Loading
Loading