Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DrawNode calls: replacing Color4F with Color4B (without the 'test' folder!) #2192

Merged

Conversation

aismann
Copy link
Contributor

@aismann aismann commented Sep 29, 2024

Describe your changes

Should be a small performance hub
See also axmol-1.0.0 Aug.9 2023:
[REFINE] Change DrawNode api color parameters from Color4F to low Color4B

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.

@halx99
Copy link
Collaborator

halx99 commented Sep 29, 2024

but we may change underlaying color to vec4 in the future release

@aismann
Copy link
Contributor Author

aismann commented Sep 29, 2024

but we may change underlaying color to vec4 in the future release

The PR is for the current implementation.

@halx99 will you accept this PR?
If not I will make an own PR for the 'removed unused includes' stuff.

@halx99
Copy link
Collaborator

halx99 commented Oct 1, 2024

both Color4F and Color4B is lgtm currently, I will merge it now, let me check

@halx99 halx99 added this to the 2.2 milestone Oct 1, 2024
@halx99 halx99 merged commit 2e70bfc into axmolengine:dev Oct 1, 2024
15 checks passed
xfbird pushed a commit to xfbird/axmol that referenced this pull request Oct 12, 2024
…lder!) (axmolengine#2192)

* drawNode calls: replace Color4F with Color4B

* replace Color4F

* removed unused includes
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