Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Sync book cross product with source code #75

Merged
merged 1 commit into from
Aug 23, 2019
Merged

Conversation

ronaldfw
Copy link
Contributor

The source code version of the cross product implementation already was updated to multiply the minus into the formula for the second component as suggested in https://github.com/RayTracing/InOneWeekend/issues/16. This commit updates the book to match this.

Fixes https://github.com/RayTracing/InOneWeekend/issues/16.

The source code version of the cross product implementation already was updated to multiply the - into the formula for the second component. This commit updates the book  to match this.
@ronaldfw ronaldfw requested a review from hollasch August 23, 2019 05:42
@ronaldfw ronaldfw changed the title Sync book cross product with code Sync book cross product with source code Aug 23, 2019
Copy link
Collaborator

@hollasch hollasch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch — thanks!

@hollasch hollasch merged commit 8dde8f2 into master Aug 23, 2019
@hollasch hollasch deleted the ronaldfw/cross branch August 23, 2019 18:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vec3.h cross product - clarify
2 participants