Skip to content

Commit

Permalink
Deploying to gh-pages from @ db4afec 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
greggman committed May 12, 2024
1 parent 188c020 commit 94d4b97
Show file tree
Hide file tree
Showing 10 changed files with 349 additions and 2,951 deletions.
2 changes: 1 addition & 1 deletion dist/2.x/mat4-impl.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export declare function getAxis(m: Mat4, axis: number, dst?: Vec3): Vec3;
* @param dst - The matrix to set. If not passed a new one is created.
* @returns The matrix with axis set.
*/
export declare function setAxis(a: Mat4, v: Vec3, axis: number, dst: Mat4): Mat4;
export declare function setAxis(m: Mat4, v: Vec3, axis: number, dst: Mat4): Mat4;
/**
* Returns the scaling component of the matrix
* @param m - The Matrix
Expand Down
8 changes: 4 additions & 4 deletions dist/2.x/wgpu-matrix.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/2.x/wgpu-matrix.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/2.x/wgpu-matrix.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dist/2.x/wgpu-matrix.module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/2.x/wgpu-matrix.module.js.map

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions docs/functions/mat4.setAxis.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>setAxis | wgpu-matrix</title><meta name="description" content="Documentation for wgpu-matrix"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wgpu-matrix</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">wgpu-matrix</a></li><li><a href="../modules/mat4.html">mat4</a></li><li><a href="mat4.setAxis.html">setAxis</a></li></ul><h1>Function setAxis</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setAxis" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Axis</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">a</span>, <span class="tsd-kind-parameter">v</span>, <span class="tsd-kind-parameter">axis</span>, <span class="tsd-kind-parameter">dst</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/Mat4-1.html" class="tsd-signature-type tsd-kind-type-alias">Mat4</a><a href="#setAxis" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets an axis of a 4x4 matrix as a vector with 3 entries</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">a</span>: <a href="../types/Mat4-1.html" class="tsd-signature-type tsd-kind-type-alias">Mat4</a></span></li><li><span><span class="tsd-kind-parameter">v</span>: <a href="../types/Vec3-1.html" class="tsd-signature-type tsd-kind-type-alias">Vec3</a></span><div class="tsd-comment tsd-typography"><p>the axis vector</p>
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>setAxis | wgpu-matrix</title><meta name="description" content="Documentation for wgpu-matrix"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">wgpu-matrix</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../modules.html">wgpu-matrix</a></li><li><a href="../modules/mat4.html">mat4</a></li><li><a href="mat4.setAxis.html">setAxis</a></li></ul><h1>Function setAxis</h1></div><section class="tsd-panel"><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="setAxis" class="tsd-anchor"></a><span class="tsd-kind-call-signature">set<wbr/>Axis</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">m</span>, <span class="tsd-kind-parameter">v</span>, <span class="tsd-kind-parameter">axis</span>, <span class="tsd-kind-parameter">dst</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="../types/Mat4-1.html" class="tsd-signature-type tsd-kind-type-alias">Mat4</a><a href="#setAxis" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Sets an axis of a 4x4 matrix as a vector with 3 entries</p>
</div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">m</span>: <a href="../types/Mat4-1.html" class="tsd-signature-type tsd-kind-type-alias">Mat4</a></span><div class="tsd-comment tsd-typography"><p>The matrix.</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">v</span>: <a href="../types/Vec3-1.html" class="tsd-signature-type tsd-kind-type-alias">Vec3</a></span><div class="tsd-comment tsd-typography"><p>the axis vector</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">axis</span>: <span class="tsd-signature-type">number</span></span><div class="tsd-comment tsd-typography"><p>The axis 0 = x, 1 = y, 2 = z;</p>
</div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">dst</span>: <a href="../types/Mat4-1.html" class="tsd-signature-type tsd-kind-type-alias">Mat4</a></span><div class="tsd-comment tsd-typography"><p>The matrix to set. If not passed a new one is created.</p>
</div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="../types/Mat4-1.html" class="tsd-signature-type tsd-kind-type-alias">Mat4</a></h4><p>The matrix with axis set.</p>
Expand Down
Loading

0 comments on commit 94d4b97

Please sign in to comment.