Skip to content

feat(rendering): Add segment and triangles SDF support, and fix SDF graphics issues#39

Merged
ZhuRuoLing merged 6 commits into
Anvil-Dev:dev/26.1from
LouisQuepierts:feat/26.1/rendering/sdf
May 30, 2026
Merged

feat(rendering): Add segment and triangles SDF support, and fix SDF graphics issues#39
ZhuRuoLing merged 6 commits into
Anvil-Dev:dev/26.1from
LouisQuepierts:feat/26.1/rendering/sdf

Conversation

@LouisQuepierts
Copy link
Copy Markdown
Contributor

Fetures

New Sdf Types

  • SEGMENT
  • TRIANGLE_EQUILATERAL (ETRIAGNLE)
  • TRIANGLE_ISOSCELES (ITRIANGLE)

Debug mode

SdfGraphics can uses debug(enable) to toggle debug mode, it will render an extra outline for preview AABB

Bug fix

Fixed wrong rotated render and AABB result in SdfGraphics when using non-center mode
Fixed wrong collision result in Sdf2d

@ZhuRuoLing ZhuRuoLing merged commit 05a1f6c into Anvil-Dev:dev/26.1 May 30, 2026
16 checks passed
@LouisQuepierts LouisQuepierts deleted the feat/26.1/rendering/sdf branch June 3, 2026 13:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants