Closed oshawa-connection closed 11 months ago
Maybe it was updated in the meantime, but essentially it describes it as vec1.x*vec2.x + vec1.y*vec2.y
which is the same definition as I've seen pretty much everywhere else, too.
(What could at first glance confuse here is naming two vectors x
and y
... =)
https://github.com/patriciogonzalezvivo/thebookofshaders/tree/master/glossary/dot#description
The definition of the dot product is not one I'm familiar with. Am I getting confused here? Happy to submit a pr if this is indeed a mistake!