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

Point Interpolation: Linear Interpolation (Lerp) #15

Open
2 tasks
SharonIV0x86 opened this issue Feb 9, 2025 · 6 comments · May be fixed by #16
Open
2 tasks

Point Interpolation: Linear Interpolation (Lerp) #15

SharonIV0x86 opened this issue Feb 9, 2025 · 6 comments · May be fixed by #16
Labels
Feature addition Lable for a new Feature Addition good first issue Good for newcomers Hard Hard tag for JWOC contributors. JWOC Role for JWOC contributors.

Comments

@SharonIV0x86
Copy link
Collaborator

SharonIV0x86 commented Feb 9, 2025

Title: Interpolate between two points using linear interpolation
Description:
Implement a static lerp() function for the Point class to interpolate between two points using linear interpolation.
Function Signature:

static Point<T, Dim> lerp(const Point<T, Dim>& p1, const Point<T, Dim>& p2, T t);

File: Point.hpp
Class: Point
Acceptance Criteria:

  • Add the lerp() function to the Point class.
  • Ensure the function works for points of any dimension.
@SharonIV0x86 SharonIV0x86 added JWOC Role for JWOC contributors. Hard Hard tag for JWOC contributors. good first issue Good for newcomers Feature addition Lable for a new Feature Addition labels Feb 10, 2025
@kadambaridane
Copy link

@SharonIV0x86 Assign me to this issue

@SharonIV0x86
Copy link
Collaborator Author

@kadambaridane Are you willing to work on this issue or not?

@kadambaridane
Copy link

@SharonIV0x86 Yess

@SharonIV0x86
Copy link
Collaborator Author

SharonIV0x86 commented Feb 11, 2025

@SharonIV0x86 Yess

Assigned to you. You can start working on it

@kadambaridane
Copy link

Thanks

@kadambaridane
Copy link

@SharonIV0x86 I have given a PR . Kindly check it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature addition Lable for a new Feature Addition good first issue Good for newcomers Hard Hard tag for JWOC contributors. JWOC Role for JWOC contributors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants