We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add some distance equations in the Point2 and Point3 structs as follows:
Point2
Point3
distance_between(Point, Point)
magnitude()
normalize()
1.0
The text was updated successfully, but these errors were encountered:
Nathan24zz
Successfully merging a pull request may close this issue.
Add some distance equations in the
Point2
andPoint3
structs as follows:distance_between(Point, Point)
function that calculate distance between two points.magnitude()
function that calculate distance of this point from the center coordinate (0, 0).normalize()
function that return a new normalized point which magnitude is1.0
.The text was updated successfully, but these errors were encountered: