-
Notifications
You must be signed in to change notification settings - Fork 0
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
Working2 #59
Merged
Merged
Working2 #59
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Added a new constructor to initialize the `Plane` with a normal vector and a distance. The normal vector is automatically normalized during initialization. - Fixed the `set` method to normalize both the normal vector and the distance parameter (`D`) consistently, ensuring correctness when updating plane parameters.
- Added detailed JavaDocs for the drawImage methods, including descriptions of parameters and behavior. - Provided explanations for both methods: one for drawing an image at a specified location without scaling, and the other for drawing and scaling the image to a specified width and height.
Description: Introduced addUvCoordinate(float u, float v) to allow appending individual UV coordinates to the mesh. This method facilitates flexible texture mapping by enabling incremental additions of u and v components. Updated JavaDocs to provide clear documentation of the method's purpose and usage.
interpolation Added the `Mathf.inverseLerp` method to compute the normalized position of a value within a specified range. This method is useful for linear interpolation, providing a way to map values proportionally between two points. Includes validation to prevent division by zero.
- Introduced FilterMode enum with POINT, LINEAR, BILINEAR, and TRILINEAR modes. - Provides different texture filtering options for improved control over texture quality and performance.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.