Skip to content

Commit 0c2b851

Browse files
committed
Reorder sphere coords and align functions
1 parent 0ce5b90 commit 0c2b851

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

books/RayTracingTheNextWeek.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,9 +1166,9 @@
11661166
with the equations for the corresponding Cartesian coordinates:
11671167

11681168
$$ \begin{align*}
1169-
x &= -\cos(\phi) \sin(\theta) \\
11701169
y &= -\cos(\theta) \\
1171-
z &= \sin(\phi) \sin(\theta)
1170+
x &= -\cos(\phi) \sin(\theta) \\
1171+
z &= \quad\sin(\phi) \sin(\theta)
11721172
\end{align*}
11731173
$$
11741174
</div>

0 commit comments

Comments
 (0)