Skip to content

Add AX_DRAWNODE_FAST_LINE2CENTER to PhysicsDebugNode#3177

Draft
aismann wants to merge 3 commits into
axmolengine:devfrom
aismann:AX_DRAWNODE_FAST_LINE2CENTER
Draft

Add AX_DRAWNODE_FAST_LINE2CENTER to PhysicsDebugNode#3177
aismann wants to merge 3 commits into
axmolengine:devfrom
aismann:AX_DRAWNODE_FAST_LINE2CENTER

Conversation

@aismann
Copy link
Copy Markdown
Contributor

@aismann aismann commented May 26, 2026

Describe your changes

Add AX_DRAWNODE_FAST_LINE2CENTER to PhysicsDebugNode
=>can be switched between the both DrawSolidCircle versions now.

Issue ticket number and link

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

Axmol 3.x ------------------------------------------------------------

For each 3.x PR

  • Check the '#include "axmol.h"' and replace it with the needed headers.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates DrawNode to support drawing solid circles with a customizable line color, adding new overloads of drawSolidCircle and updating PhysicsDebugNode to utilize them conditionally. The review feedback suggests cleaning up commented-out code, changing Vec2& parameters to const Vec2& across the new function signatures to allow passing temporary objects, and fixing a minor comment style issue (//// instead of //) in PhysicsDebugNode.cpp.

Comment thread axmol/2d/DrawNode.cpp Outdated
Comment thread axmol/2d/DrawNode.h Outdated
Comment thread axmol/2d/DrawNode.h Outdated
Comment thread axmol/2d/DrawNode.cpp Outdated
Comment thread axmol/2d/DrawNode.cpp Outdated
Comment thread extensions/physics-nodes/src/physics-nodes/PhysicsDebugNode.cpp Outdated
@aismann aismann marked this pull request as draft May 26, 2026 17:33
@aismann
Copy link
Copy Markdown
Contributor Author

aismann commented May 26, 2026

@halx99:
genbindings.ps1 raising this error:
removed image

@halx99
Copy link
Copy Markdown
Collaborator

halx99 commented May 27, 2026

@aismann
Copy link
Copy Markdown
Contributor Author

aismann commented May 27, 2026

@halx99
Please have a look again: gradle error?
Thx

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