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

Working2 #59

Merged
merged 15 commits into from
Jan 2, 2025
Merged

Working2 #59

merged 15 commits into from
Jan 2, 2025

Conversation

ArtifactForms
Copy link
Owner

No description provided.

- 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.
@ArtifactForms ArtifactForms merged commit b334fda into master Jan 2, 2025
2 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