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

Implement Rand operation #20

Open
Xkonti opened this issue Sep 15, 2023 · 1 comment
Open

Implement Rand operation #20

Xkonti opened this issue Sep 15, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issues that qualify towards Hacktoberfest goals.
Milestone

Comments

@Xkonti
Copy link
Owner

Xkonti commented Sep 15, 2023

Generates a normal vector with random components. Available only for float types. Make sure vector is normalized.

vec1 := govec.RandV2F[float64]()
vec2 := govec.RandV2F[float32]()
vec3 := govec.RandV3F[float64]()
vec4 := govec.RandV3F[float32]()
@Xkonti Xkonti added enhancement New feature or request good first issue Good for newcomers labels Sep 15, 2023
@Xkonti Xkonti added this to the v1.0.0 milestone Sep 15, 2023
@Xkonti Xkonti changed the title Implement NewRandom operation Implement Random operation Sep 15, 2023
@Xkonti Xkonti changed the title Implement Random operation Implement Rand operation Sep 15, 2023
@Xkonti Xkonti added the hacktoberfest Issues that qualify towards Hacktoberfest goals. label Oct 2, 2023
@GalihFajar
Copy link
Contributor

Hi @Xkonti, I've made a PR that addresses this issue. Could you please take a look? Thanks!

Xkonti pushed a commit that referenced this issue Aug 9, 2024
Addresses issue #20

Co-authored-by: Galih Fajar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Issues that qualify towards Hacktoberfest goals.
Projects
None yet
Development

No branches or pull requests

2 participants