Skip to content

com.jme3.audio.Environment: javadoc#2428

Merged
yaRnMcDonuts merged 1 commit intojMonkeyEngine:masterfrom
capdevon:capdevon-Environment
May 15, 2025
Merged

com.jme3.audio.Environment: javadoc#2428
yaRnMcDonuts merged 1 commit intojMonkeyEngine:masterfrom
capdevon:capdevon-Environment

Conversation

@capdevon
Copy link
Copy Markdown
Contributor

@capdevon capdevon commented May 8, 2025

  • Updated License year
  • Added javadoc
  • Added hashCode() method
  • Refactored equals() method

Note:
Math.abs(f1 - f2) < epsilon is the more practical and recommended approach for comparing float fields in the equals() method of the Environment class because it allows for a necessary tolerance when dealing with floating-point calculations.

@yaRnMcDonuts yaRnMcDonuts added this to the v3.9.0 milestone May 8, 2025
@yaRnMcDonuts yaRnMcDonuts merged commit 62e62aa into jMonkeyEngine:master May 15, 2025
16 checks passed
@capdevon capdevon deleted the capdevon-Environment branch June 15, 2025 22:49
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