Skip to content

Commit

Permalink
Another attempt to fix math 2
Browse files Browse the repository at this point in the history
  • Loading branch information
anshium committed Jan 12, 2024
1 parent 87ed078 commit bf1905a
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions cg_codebase.md
Original file line number Diff line number Diff line change
Expand Up @@ -676,19 +676,21 @@ Here, we are finding using past principles, the intersection of a ray to the poi

We have the equations:

```math
$$
r(t) = \vec o + t \vec d
``````
```and```
$$

```math
$$and$$

$$
(\vec x - \vec p) \cdot \vec n = 0
```
$$

Solving for t, we get:

```math
$$
t = - \frac{(\vec o - \vec p) \cdot \vec n}{\vec d \cdot \vec n}
```
$$

Explain this:
```cpp
Expand Down

0 comments on commit bf1905a

Please sign in to comment.