Skip to content

Conversation

hazeycode
Copy link
Member

No description provided.

@hazeycode hazeycode requested a review from Copilot August 29, 2025 00:20
Copilot

This comment was marked as outdated.

@hazeycode hazeycode force-pushed the remove-usingnamespace branch from ed8016c to e575366 Compare August 29, 2025 00:27
@hazeycode hazeycode requested a review from Copilot August 29, 2025 00:27
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR removes the usage of the deprecated usingnamespace feature in Zig by replacing it with explicit method declarations. The change improves code clarity and follows modern Zig best practices by making the interface methods explicitly visible rather than imported through namespace inclusion.

Key changes:

  • Renamed ShapeFunctions to ShapeInterface and moved ConstraintFunctions to ConstraintInterface
  • Replaced usingnamespace declarations with explicit pub const method assignments
  • Fixed a bug in the calculateLocalInertia method signature

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@hazeycode hazeycode merged commit 73e6415 into main Aug 29, 2025
2 of 3 checks passed
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.

1 participant