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

Random point on surface #23

Closed
Blizzara opened this issue Mar 30, 2012 · 0 comments
Closed

Random point on surface #23

Blizzara opened this issue Mar 30, 2012 · 0 comments

Comments

@Blizzara
Copy link
Collaborator

Jokaiselle kappaleelle getRandomPointOnSurface (tjsp) -metodi, joka siis palauttaa (mielellään mahdollisimman tasaisesti jakautuneesti) sattumanvaraisen pisteen kappaleen pinnalta.

Jotta voidaan path tracettaa kahdesta suunnasta, täytyy löytää alkupiste toiselle suunnalle. Eli jokaisesta kappaleesta täytyy voida pyytää piste pinnalta. Tästä pisteestä lähdetään sitten iteroimaan.

@jaaket jaaket closed this as completed Apr 21, 2012
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

No branches or pull requests

2 participants