-
Notifications
You must be signed in to change notification settings - Fork 2
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
[wip] Initial extraction of scalar rt math #88
base: develop
Are you sure you want to change the base?
Conversation
in float halfWidth, | ||
in float halfHeight, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nie wiem czy dzielenie przez 2 jest tutaj tak kosztowne, żeby to przesyłać wyliczone... wysyłałbym tylko width
i height
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pytanie
: new Optional<float>(); | ||
} | ||
|
||
public static Color TraceRay(in Ray ray, MyScene scene, int depth) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To publiczne zostawiłbym + point, reszta private ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jak nie będą potrzebne to można
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, to zrobię #87 i zobaczymy
dobrze jakby najpierw skończyć zwektoryzowaną implementację, a później wydzielić powtarzające się elementy. byłoby wiadomo co jest rzeczywiście potrzebne i stworzyć dla tego odpowiednie abstrakcje.
closes #86