From 22e3e94d8abd2e2b27f8189f84cbb2806edd7667 Mon Sep 17 00:00:00 2001 From: Luca Conte Date: Sat, 10 May 2025 14:05:06 +0200 Subject: [PATCH] add model matrix in UI (not functional) --- public/index.html | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 389debf..3f3364a 100644 --- a/public/index.html +++ b/public/index.html @@ -75,7 +75,7 @@ #matrices { display: grid; - grid-template-columns: 0px 1fr 0px 1fr 0px 1fr 0px 1fr 0px 1fr 0px 1fr 0px; + grid-template-columns: repeat(8, 0px 1fr) 0px; grid-gap: var(--padding); padding-left: var(--padding); padding-right: var(--padding); @@ -121,6 +121,10 @@ .lookAt { color: #a6e3a1; } + + .model { + color: #89b4fa; + } @@ -206,6 +210,28 @@ \end{pmatrix} $$ + $$\dot{}$$ +
+ $$ + \begin{pmatrix} + cos(\alpha) & -sin(\alpha) & 0 & 0 \\ + sin(\alpha) & cos(\alpha) & 0 & 0 \\ + 0 & 0 & 1 & 0 \\ + 0 & 0 & 0 & 1 + \end{pmatrix} + $$ +
+ $$\dot{}$$ +
+ $$ + \begin{pmatrix} + s_x & 0 & 0 & 0 \\ + 0 & s_y & 0 & 0 \\ + 0 & 0 & s_z & 0 \\ + 0 & 0 & 0 & 1 + \end{pmatrix} + $$ +