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

Vector2f: added final static variables NAN, UNIT_X, UNIT_Y, … #2198

Merged
merged 1 commit into from
Mar 2, 2024

Conversation

capdevon
Copy link
Contributor

@capdevon capdevon commented Feb 19, 2024

Addition of final static variables for code consistency with Vector3f and Vector4f classes:

  • Vector2f.NAN
  • Vector2f.UNIT_X
  • Vector2f.UNIT_Y
  • Vector2f.POSITIVE_INFINITY
  • Vector2f.NEGATIVE_INFINITY

…NEG_INF

Vector2f: added final static variables:
* Vector2f.NAN
* Vector2f.UNIT_X
* Vector2f.UNIT_Y
* Vector2f.POS_INF
* Vector2f.NEG_INF
@richardTingle
Copy link
Member

Looks good to me

@capdevon
Copy link
Contributor Author

Thank you @riccardobl ;)

@scenemax3d scenemax3d added this to the v3.7.0 milestone Mar 2, 2024
@scenemax3d scenemax3d merged commit d0683ed into jMonkeyEngine:master Mar 2, 2024
14 checks passed
@capdevon capdevon deleted the capdevon-Vector2f branch March 2, 2024 09:26
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.

5 participants