Skip to content

Commit

Permalink
Update cross product visualization
Browse files Browse the repository at this point in the history
  • Loading branch information
StuckiSimon committed Aug 13, 2024
1 parent 7c8ba8e commit cae82c0
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion report/parts/theory.tex
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,22 @@ \subsubsection{Vectors}

\begin{figure}[H]
\centering
\includegraphics[width=0.2\textwidth]{resources/cross-product.png}
\begin{tikzpicture}
\coordinate (O) at (0,0);
\coordinate (P) at (0,1);
\coordinate (V) at (-1,0.25);
\coordinate (W) at (-0.8,-0.7);

\draw[thick,fill=lightgray] (-0.3,0.08) -- (-0.3,0.36) -- (0.0,0.3) -- (0,0);

\draw[thick] (O) -- (P);
\draw[thick] (V) -- (O);
\draw[thick] (W) -- (O);

\node[above] at (P) {p};
\node[left] at (V) {v};
\node[below] at (W) {w};
\end{tikzpicture}
\caption{Cross product of two vectors $v$ and $w$, resulting in a vector $p$ orthogonal to $v$ and $w$.}
\label{fig:cross-product}
\end{figure}
Expand Down
Binary file removed report/resources/cross-product.png
Binary file not shown.

0 comments on commit cae82c0

Please sign in to comment.