-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2294bb
commit 67338a6
Showing
210 changed files
with
474 additions
and
498 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><meta content="ie=edge" httpEquiv="X-UA-Compatible"/><meta name="description" content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. "/><meta name="keywords" content="Lua, Creative Coding, p5.js, OpenGL, Lua Interpreter, programming, coding, learn code"/><meta name="author" content="Matias Vazquez-Levi"/><meta property="og:title" content="camera"/><meta property="og:description" content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. "/><meta property="og:image" content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png"/><meta property="og:url" content="https://matiasvlevi.github.io/lu5"/><meta name="twitter:card" content="summary_large_image"/><meta name="twitter:title" content="camera"/><meta name="twitter:description" content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. "/><meta name="twitter:image" content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png"/><link href="../../assets/style.css" rel="stylesheet"/><script type="text/javascript" src="../../assets/search.js"></script><script type="text/javascript" src="../../assets/menu.js"></script><script>window.onload = function (e) {set_nav_menu();set_search("../../v0.1.7/");};</script><link href="../../assets/lu5-hljs-theme.css" rel="stylesheet"/><script src="https://unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded", function (e) {hljs.configure({ noHighlightRe: /^no-hljs$/i });hljs.highlightAll();});</script><script src="https://unpkg.com/@highlightjs/[email protected]/languages/lua.min.js"></script><script lib src="../../assets/lu5-wasm.min.js"></script><script src="../../assets/lu5-console.min.js"></script><link href="https://matiasvlevi.github.io/lu5/latest/camera" rel="canonical"/><script src="https://www.googletagmanager.com/gtag/js?id=G-CYFGDF41F4" async></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);};gtag("js", new Date());gtag("config", "G-CYFGDF41F4");</script><link type="image/svg" href="../../assets/favicon.png" rel="icon"/><title>camera</title></head><body><div class="content flex flex-grow"><div id="menu" class="nav"><br/><ul><li class="btn"><a class="light" href=".././window/"><h4>window</h4></a></li><li class="btn"><a class="light" href=".././typography/"><h4>typography</h4></a></li><li class="btn"><a class="light" href=".././transform/"><h4>transform</h4></a></li><li class="btn"><a class="light" href=".././shapes3D/"><h4>3D Shapes</h4></a></li><li class="btn"><a class="light" href=".././shapes/"><h4>2D Shapes</h4></a></li><li class="btn"><a class="light" href=".././setting/"><h4>setting</h4></a></li><li class="btn"><a class="light" href=".././mouse/"><h4>mouse</h4></a></li><li class="btn"><a class="light" href=".././models/"><h4>models</h4></a></li><li class="btn"><a class="light" href=".././vector/"><h4>vector</h4></a></li><li class="btn"><a class="light" href=".././math/"><h4>math</h4></a></li><li class="btn"><a class="light" href=".././keyboard/"><h4>keyboard</h4></a></li><li class="btn"><a class="light" href=".././io/"><h4>io</h4></a></li><li class="btn"><a class="light" href=".././image/"><h4>image</h4></a></li><li class="btn"><a class="light" href=".././classes/"><h4>classes</h4></a></li><li class="btn"><a class="light" href=".././camera/"><h4>camera</h4></a></li></ul></div><main><header><div class="wrap"><a href="../"><img src="../../assets/logo.svg" class="logo"/></a><h1 style="font-size: 26pt" class="module">camera</h1><button onclick="toggleMenu()" class="menuBtn"><img class="menuIcon" width="40px" src="../../assets/arrow_left.svg"/></button><span class="text version">v0.1.7</span></div><div style="display: none;" class="space-between items-center gap-1 search-section"><svg height="24px" viewBox="0 0 50 50" width="24px" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z" stroke="currentColor"></path></svg><div style="position: relative;" class="search-wrap flex-col"><input style="z-index: 5;" id="search" type="text" placeholder="Search" autocomplete="off"/><div class="search-box flex-col"></div></div></div></header><div id="orbitControl" class="method"><div class="methodDeclaration"><code>orbitControl();</code></div><p>Helpful utility for controlling the camera around the origin.<br/>Enables quick camera controls without much of an implementation.</p><div class="params"></div><p></p><div class="method-example flex items-center"><pre class="example-code"><code class="language-lua">function setup() | ||
<!DOCTYPE html><html lang="en"><head><meta charset="UTF-8"/><meta content="width=device-width, initial-scale=1.0" name="viewport"/><meta httpEquiv="X-UA-Compatible" content="ie=edge"/><meta content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. " name="description"/><meta content="Lua, Creative Coding, p5.js, OpenGL, Lua Interpreter, programming, coding, learn code" name="keywords"/><meta content="Matias Vazquez-Levi" name="author"/><meta property="og:title" content="camera"/><meta property="og:description" content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. "/><meta property="og:image" content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png"/><meta property="og:url" content="https://matiasvlevi.github.io/lu5"/><meta content="summary_large_image" name="twitter:card"/><meta content="camera" name="twitter:title"/><meta content="camera reference page. Originating from camera.h in lu5 source. Reference documentation for lu5, this documentation provides descriptions and examples of lu5's functionality. " name="twitter:description"/><meta content="https://matiasvlevi.github.io/lu5/assets/lu5_thumbnail.png" name="twitter:image"/><link href="../../assets/style.css" rel="stylesheet"/><script src="../../assets/search.js" type="text/javascript"></script><script src="../../assets/menu.js" type="text/javascript"></script><script>window.onload = function (e) {set_nav_menu();set_search("../../v0.1.7/");};</script><link href="../../assets/lu5-hljs-theme.css" rel="stylesheet"/><script src="https://unpkg.com/@highlightjs/[email protected]/highlight.min.js"></script><script>document.addEventListener("DOMContentLoaded", function (e) {hljs.configure({ noHighlightRe: /^no-hljs$/i });hljs.highlightAll();});</script><script src="https://unpkg.com/@highlightjs/[email protected]/languages/lua.min.js"></script><script lib src="../../assets/lu5-wasm.min.js"></script><script src="../../assets/lu5-console.min.js"></script><link href="https://matiasvlevi.github.io/lu5/latest/camera" rel="canonical"/><script src="https://www.googletagmanager.com/gtag/js?id=G-CYFGDF41F4" async></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);};gtag("js", new Date());gtag("config", "G-CYFGDF41F4");</script><link href="../../assets/favicon.png" type="image/svg" rel="icon"/><title>camera</title></head><body><div class="content flex flex-grow"><div id="menu" class="nav"><br/><ul><li class="btn"><a href=".././window/" class="light"><h4>window</h4></a></li><li class="btn"><a href=".././typography/" class="light"><h4>typography</h4></a></li><li class="btn"><a href=".././transform/" class="light"><h4>transform</h4></a></li><li class="btn"><a href=".././shapes3D/" class="light"><h4>3D Shapes</h4></a></li><li class="btn"><a href=".././shapes/" class="light"><h4>2D Shapes</h4></a></li><li class="btn"><a href=".././setting/" class="light"><h4>setting</h4></a></li><li class="btn"><a href=".././mouse/" class="light"><h4>mouse</h4></a></li><li class="btn"><a href=".././models/" class="light"><h4>models</h4></a></li><li class="btn"><a href=".././vector/" class="light"><h4>vector</h4></a></li><li class="btn"><a href=".././math/" class="light"><h4>math</h4></a></li><li class="btn"><a href=".././keyboard/" class="light"><h4>keyboard</h4></a></li><li class="btn"><a href=".././io/" class="light"><h4>io</h4></a></li><li class="btn"><a href=".././image/" class="light"><h4>image</h4></a></li><li class="btn"><a href=".././classes/" class="light"><h4>classes</h4></a></li><li class="btn"><a href=".././camera/" class="light"><h4>camera</h4></a></li></ul></div><main><header><div class="wrap"><a href="../"><img src="../../assets/logo.svg" class="logo"/></a><h1 style="font-size: 26pt" class="module">camera</h1><button onclick="toggleMenu()" class="menuBtn"><img src="../../assets/arrow_left.svg" width="40px" class="menuIcon"/></button><span class="text version">v0.1.7</span></div><div style="display: none;" class="space-between items-center gap-1 search-section"><svg viewBox="0 0 50 50" height="24px" xmlns="http://www.w3.org/2000/svg" width="24px"><path stroke="currentColor" fill="currentColor" d="M 21 3 C 11.601563 3 4 10.601563 4 20 C 4 29.398438 11.601563 37 21 37 C 24.355469 37 27.460938 36.015625 30.09375 34.34375 L 42.375 46.625 L 46.625 42.375 L 34.5 30.28125 C 36.679688 27.421875 38 23.878906 38 20 C 38 10.601563 30.398438 3 21 3 Z M 21 7 C 28.199219 7 34 12.800781 34 20 C 34 27.199219 28.199219 33 21 33 C 13.800781 33 8 27.199219 8 20 C 8 12.800781 13.800781 7 21 7 Z"></path></svg><div style="position: relative;" class="search-wrap flex-col"><input placeholder="Search" type="text" autocomplete="off" id="search" style="z-index: 5;"/><div class="search-box flex-col"></div></div></div></header><div id="orbitControl" class="method"><div class="methodDeclaration"><code>orbitControl();</code></div><p>Helpful utility for controlling the camera around the origin.<br/>Enables quick camera controls without much of an implementation.</p><div class="params"></div><p></p><div class="method-example flex items-center"><pre class="example-code"><code class="language-lua">function setup() | ||
createWindow(800, 800, GL3D); | ||
end | ||
|
||
|
@@ -13,4 +13,4 @@ | |
strokeWeight(4); | ||
|
||
box(60); | ||
end</code></pre></div><span class="text small underline"><a target="_blank" href="https://github.com/matiasvlevi/lu5/blob/master/src/bindings/camera.h#L22C0-L46C0">See orbitControl in camera.h</a></span></div></main></div><footer class="flex-col space-between"><div class="socials"><a style="gap: 0.5rem; color: #fff;" href="https://github.com/matiasvlevi/lu5" class="flex items-center"><img src="../../assets/github.svg"/><span class="small dark underline">matiasvlevi/lu5</span></a></div><div class="license-note"><span class="smaller dark">This project is licensed under the MIT License.</span><br/><span class="smaller dark">It also includes the FreeType font engine, which is licensed under the FreeType License (FTL).</span></div></footer></body></html> | ||
end</code></pre></div><span class="text small underline"><a href="https://github.com/matiasvlevi/lu5/blob/master/src/bindings/camera.h#L22C0-L46C0" target="_blank">See orbitControl in camera.h</a></span></div></main></div><footer class="flex-col space-between"><div class="socials"><a href="https://github.com/matiasvlevi/lu5" style="gap: 0.5rem; color: #fff;" class="flex items-center"><img src="../../assets/github.svg"/><span class="small dark underline">matiasvlevi/lu5</span></a></div><div class="license-note"><span class="smaller dark">This project is licensed under the MIT License.</span><br/><span class="smaller dark">It also includes the FreeType font engine, which is licensed under the FreeType License (FTL).</span></div></footer></body></html> |
Oops, something went wrong.