diff --git a/404.html b/404.html index 91e750d9..94f4d4ad 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | Jitter Physics - + diff --git a/assets/js/2a0f5d50.3f6199ee.js b/assets/js/2a0f5d50.6a4986b2.js similarity index 98% rename from assets/js/2a0f5d50.3f6199ee.js rename to assets/js/2a0f5d50.6a4986b2.js index ae715f7f..0fa3674a 100644 --- a/assets/js/2a0f5d50.3f6199ee.js +++ b/assets/js/2a0f5d50.6a4986b2.js @@ -1 +1 @@ -"use strict";(self.webpackChunkjitterphysics=self.webpackChunkjitterphysics||[]).push([[38],{8051:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>p,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var r=n(4848),o=n(8453);const s={sidebar_position:1},i="Project Setup",c={id:"quickstart/project-setup",title:"Project Setup",description:"Requirements",source:"@site/docs/01_quickstart/00-project-setup.md",sourceDirName:"01_quickstart",slug:"/quickstart/project-setup",permalink:"/docs/quickstart/project-setup",draft:!1,unlisted:!1,editUrl:"https://github.com/notgiven688/jitterphysics2/tree/main/docs/docs/01_quickstart/00-project-setup.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Quickstart",permalink:"/docs/category/quickstart"},next:{title:"Render Loop",permalink:"/docs/quickstart/render-loop"}},a={},d=[{value:"Requirements",id:"requirements",level:3},{value:"Create a New Console Application and Add Jitter and Raylib",id:"create-a-new-console-application-and-add-jitter-and-raylib",level:3}];function l(e){const t={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"project-setup",children:"Project Setup"}),"\n",(0,r.jsx)(t.h3,{id:"requirements",children:"Requirements"}),"\n",(0,r.jsxs)(t.p,{children:["Install the ",(0,r.jsx)(t.a,{href:"https://dotnet.microsoft.com/download/dotnet/8.0",children:".NET 8.0 SDK"}),"."]}),"\n",(0,r.jsx)(t.p,{children:"Ensure that dotnet is correctly set up by executing the following command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"dotnet --version\n"})}),"\n",(0,r.jsx)(t.h3,{id:"create-a-new-console-application-and-add-jitter-and-raylib",children:"Create a New Console Application and Add Jitter and Raylib"}),"\n",(0,r.jsx)(t.p,{children:'First, create a new directory named "BoxDrop" and navigate into it:'}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"mkdir BoxDrop && cd BoxDrop\n"})}),"\n",(0,r.jsx)(t.p,{children:"Next, create a new console application in this directory and add Raylib-cs and Jitter2:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"dotnet new console\ndotnet add package Raylib-cs --version 6.1.1\ndotnet add package Jitter2 --version 2.4.5\n"})}),"\n",(0,r.jsx)(t.p,{children:"You have completed the setup. If you now execute the following command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"dotnet run\n"})}),"\n",(0,r.jsx)(t.p,{children:'Your console should display: "Hello, World!".'})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var r=n(6540);const o={},s=r.createContext(o);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file +"use strict";(self.webpackChunkjitterphysics=self.webpackChunkjitterphysics||[]).push([[38],{8051:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>a,contentTitle:()=>i,default:()=>p,frontMatter:()=>s,metadata:()=>c,toc:()=>d});var r=n(4848),o=n(8453);const s={sidebar_position:1},i="Project Setup",c={id:"quickstart/project-setup",title:"Project Setup",description:"Requirements",source:"@site/docs/01_quickstart/00-project-setup.md",sourceDirName:"01_quickstart",slug:"/quickstart/project-setup",permalink:"/docs/quickstart/project-setup",draft:!1,unlisted:!1,editUrl:"https://github.com/notgiven688/jitterphysics2/tree/main/docs/docs/01_quickstart/00-project-setup.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1},sidebar:"tutorialSidebar",previous:{title:"Quickstart",permalink:"/docs/category/quickstart"},next:{title:"Render Loop",permalink:"/docs/quickstart/render-loop"}},a={},d=[{value:"Requirements",id:"requirements",level:3},{value:"Create a New Console Application and Add Jitter and Raylib",id:"create-a-new-console-application-and-add-jitter-and-raylib",level:3}];function l(e){const t={a:"a",code:"code",h1:"h1",h3:"h3",p:"p",pre:"pre",...(0,o.R)(),...e.components};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(t.h1,{id:"project-setup",children:"Project Setup"}),"\n",(0,r.jsx)(t.h3,{id:"requirements",children:"Requirements"}),"\n",(0,r.jsxs)(t.p,{children:["Install the ",(0,r.jsx)(t.a,{href:"https://dotnet.microsoft.com/download/dotnet/8.0",children:".NET 8.0 SDK"}),"."]}),"\n",(0,r.jsx)(t.p,{children:"Ensure that dotnet is correctly set up by executing the following command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"dotnet --version\n"})}),"\n",(0,r.jsx)(t.h3,{id:"create-a-new-console-application-and-add-jitter-and-raylib",children:"Create a New Console Application and Add Jitter and Raylib"}),"\n",(0,r.jsx)(t.p,{children:'First, create a new directory named "BoxDrop" and navigate into it:'}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"mkdir BoxDrop && cd BoxDrop\n"})}),"\n",(0,r.jsx)(t.p,{children:"Next, create a new console application in this directory and add Raylib-cs and Jitter2:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"dotnet new console\ndotnet add package Raylib-cs --version 6.1.1\ndotnet add package Jitter2 --version 2.4.6\n"})}),"\n",(0,r.jsx)(t.p,{children:"You have completed the setup. If you now execute the following command:"}),"\n",(0,r.jsx)(t.pre,{children:(0,r.jsx)(t.code,{className:"language-sh",children:"dotnet run\n"})}),"\n",(0,r.jsx)(t.p,{children:'Your console should display: "Hello, World!".'})]})}function p(e={}){const{wrapper:t}={...(0,o.R)(),...e.components};return t?(0,r.jsx)(t,{...e,children:(0,r.jsx)(l,{...e})}):l(e)}},8453:(e,t,n)=>{n.d(t,{R:()=>i,x:()=>c});var r=n(6540);const o={},s=r.createContext(o);function i(e){const t=r.useContext(s);return r.useMemo((function(){return"function"==typeof e?e(t):{...t,...e}}),[t,e])}function c(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),r.createElement(s.Provider,{value:t},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.0311e709.js b/assets/js/runtime~main.93b5bb81.js similarity index 98% rename from assets/js/runtime~main.0311e709.js rename to assets/js/runtime~main.93b5bb81.js index 89d8ef8f..0ba7deef 100644 --- a/assets/js/runtime~main.0311e709.js +++ b/assets/js/runtime~main.93b5bb81.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return f[e].call(r.exports,r,r.exports,c),r.exports}c.m=f,e=[],c.O=(t,r,a,o)=>{if(!r){var f=1/0;for(d=0;d=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(n=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,c.d(o,f),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({38:"2a0f5d50",48:"a94703ab",51:"34b8f584",88:"deb49e46",94:"bf6df496",95:"2e408fef",98:"a7bd4aaa",200:"9b0af31e",235:"a7456010",401:"17896441",452:"34479fac",511:"0c6090a1",539:"9beb87c2",631:"d2f6244d",634:"c4f5d8e4",647:"5e95c892",681:"472985f5",742:"aba21aa0",849:"0058b4c6",853:"c8cd1b90",969:"14eb3368",976:"0e384e19"}[e]||e)+"."+{38:"3f6199ee",48:"f2f129ec",51:"530dd28a",88:"d6c18fff",94:"fa44a7d7",95:"2caceeab",98:"09770a5d",200:"41a8c480",235:"4f0d0dc9",237:"2ef5ef8b",401:"f65e4f4f",452:"80de0b83",511:"7815bf4e",539:"47fccc01",631:"27ec3fb5",634:"4d95c347",647:"df0f3aaf",681:"809de0a2",742:"c4f20e0e",849:"7187ab67",853:"2b75df9a",969:"0cdfe1bb",976:"6ccb6612"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="jitterphysics:",c.l=(e,t,r,f)=>{if(a[e])a[e].push(t);else{var n,i;if(void 0!==r)for(var b=document.getElementsByTagName("script"),d=0;d{n.onerror=n.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),i&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/",c.gca=function(e){return e={17896441:"401","2a0f5d50":"38",a94703ab:"48","34b8f584":"51",deb49e46:"88",bf6df496:"94","2e408fef":"95",a7bd4aaa:"98","9b0af31e":"200",a7456010:"235","34479fac":"452","0c6090a1":"511","9beb87c2":"539",d2f6244d:"631",c4f5d8e4:"634","5e95c892":"647","472985f5":"681",aba21aa0:"742","0058b4c6":"849",c8cd1b90:"853","14eb3368":"969","0e384e19":"976"}[e]||e,c.p+c.u(e)},(()=>{var e={354:0,869:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var f=c.p+c.u(t),n=new Error;c.l(f,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",n.name="ChunkLoadError",n.type=o,n.request=f,a[1](n)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,f=r[0],n=r[1],i=r[2],b=0;if(f.some((t=>0!==e[t]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(i)var d=i(c)}for(t&&t(r);b{"use strict";var e,t,r,a,o,f={},n={};function c(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return f[e].call(r.exports,r,r.exports,c),r.exports}c.m=f,e=[],c.O=(t,r,a,o)=>{if(!r){var f=1/0;for(d=0;d=o)&&Object.keys(c.O).every((e=>c.O[e](r[i])))?r.splice(i--,1):(n=!1,o0&&e[d-1][2]>o;d--)e[d]=e[d-1];e[d]=[r,a,o]},c.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return c.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,c.t=function(e,a){if(1&a&&(e=this(e)),8&a)return e;if("object"==typeof e&&e){if(4&a&&e.__esModule)return e;if(16&a&&"function"==typeof e.then)return e}var o=Object.create(null);c.r(o);var f={};t=t||[null,r({}),r([]),r(r)];for(var n=2&a&&e;"object"==typeof n&&!~t.indexOf(n);n=r(n))Object.getOwnPropertyNames(n).forEach((t=>f[t]=()=>e[t]));return f.default=()=>e,c.d(o,f),o},c.d=(e,t)=>{for(var r in t)c.o(t,r)&&!c.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},c.f={},c.e=e=>Promise.all(Object.keys(c.f).reduce(((t,r)=>(c.f[r](e,t),t)),[])),c.u=e=>"assets/js/"+({38:"2a0f5d50",48:"a94703ab",51:"34b8f584",88:"deb49e46",94:"bf6df496",95:"2e408fef",98:"a7bd4aaa",200:"9b0af31e",235:"a7456010",401:"17896441",452:"34479fac",511:"0c6090a1",539:"9beb87c2",631:"d2f6244d",634:"c4f5d8e4",647:"5e95c892",681:"472985f5",742:"aba21aa0",849:"0058b4c6",853:"c8cd1b90",969:"14eb3368",976:"0e384e19"}[e]||e)+"."+{38:"6a4986b2",48:"f2f129ec",51:"530dd28a",88:"d6c18fff",94:"fa44a7d7",95:"2caceeab",98:"09770a5d",200:"41a8c480",235:"4f0d0dc9",237:"2ef5ef8b",401:"f65e4f4f",452:"80de0b83",511:"7815bf4e",539:"47fccc01",631:"27ec3fb5",634:"4d95c347",647:"df0f3aaf",681:"809de0a2",742:"c4f20e0e",849:"7187ab67",853:"2b75df9a",969:"0cdfe1bb",976:"6ccb6612"}[e]+".js",c.miniCssF=e=>{},c.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),c.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a={},o="jitterphysics:",c.l=(e,t,r,f)=>{if(a[e])a[e].push(t);else{var n,i;if(void 0!==r)for(var b=document.getElementsByTagName("script"),d=0;d{n.onerror=n.onload=null,clearTimeout(s);var o=a[e];if(delete a[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(r))),t)return t(r)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),i&&document.head.appendChild(n)}},c.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.p="/",c.gca=function(e){return e={17896441:"401","2a0f5d50":"38",a94703ab:"48","34b8f584":"51",deb49e46:"88",bf6df496:"94","2e408fef":"95",a7bd4aaa:"98","9b0af31e":"200",a7456010:"235","34479fac":"452","0c6090a1":"511","9beb87c2":"539",d2f6244d:"631",c4f5d8e4:"634","5e95c892":"647","472985f5":"681",aba21aa0:"742","0058b4c6":"849",c8cd1b90:"853","14eb3368":"969","0e384e19":"976"}[e]||e,c.p+c.u(e)},(()=>{var e={354:0,869:0};c.f.j=(t,r)=>{var a=c.o(e,t)?e[t]:void 0;if(0!==a)if(a)r.push(a[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>a=e[t]=[r,o]));r.push(a[2]=o);var f=c.p+c.u(t),n=new Error;c.l(f,(r=>{if(c.o(e,t)&&(0!==(a=e[t])&&(e[t]=void 0),a)){var o=r&&("load"===r.type?"missing":r.type),f=r&&r.target&&r.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+f+")",n.name="ChunkLoadError",n.type=o,n.request=f,a[1](n)}}),"chunk-"+t,t)}},c.O.j=t=>0===e[t];var t=(t,r)=>{var a,o,f=r[0],n=r[1],i=r[2],b=0;if(f.some((t=>0!==e[t]))){for(a in n)c.o(n,a)&&(c.m[a]=n[a]);if(i)var d=i(c)}for(t&&t(r);b Overview | Jitter Physics - + diff --git a/docs/category/quickstart/index.html b/docs/category/quickstart/index.html index d41ca84e..a842f07b 100644 --- a/docs/category/quickstart/index.html +++ b/docs/category/quickstart/index.html @@ -4,7 +4,7 @@ Quickstart | Jitter Physics - + diff --git a/docs/changelog/index.html b/docs/changelog/index.html index 23987381..dc64c50e 100644 --- a/docs/changelog/index.html +++ b/docs/changelog/index.html @@ -4,7 +4,7 @@ Changelog | Jitter Physics - + diff --git a/docs/documentation/01world/index.html b/docs/documentation/01world/index.html index fc13f086..0afc271c 100644 --- a/docs/documentation/01world/index.html +++ b/docs/documentation/01world/index.html @@ -4,7 +4,7 @@ Jitter World | Jitter Physics - + diff --git a/docs/documentation/02bodies/index.html b/docs/documentation/02bodies/index.html index 05eccdb0..dfdb8551 100644 --- a/docs/documentation/02bodies/index.html +++ b/docs/documentation/02bodies/index.html @@ -4,7 +4,7 @@ Rigid Bodies | Jitter Physics - + diff --git a/docs/documentation/03shapes/index.html b/docs/documentation/03shapes/index.html index 2eabd190..a373fe09 100644 --- a/docs/documentation/03shapes/index.html +++ b/docs/documentation/03shapes/index.html @@ -4,7 +4,7 @@ Shapes | Jitter Physics - + diff --git a/docs/documentation/04constraints/index.html b/docs/documentation/04constraints/index.html index 3c8935df..ead53987 100644 --- a/docs/documentation/04constraints/index.html +++ b/docs/documentation/04constraints/index.html @@ -4,7 +4,7 @@ Constraints | Jitter Physics - + diff --git a/docs/documentation/05dynamictree/index.html b/docs/documentation/05dynamictree/index.html index 643676fb..1de656db 100644 --- a/docs/documentation/05dynamictree/index.html +++ b/docs/documentation/05dynamictree/index.html @@ -4,7 +4,7 @@ Dynamic tree | Jitter Physics - + diff --git a/docs/documentation/06filters/index.html b/docs/documentation/06filters/index.html index 8e4cc425..9a43fd2d 100644 --- a/docs/documentation/06filters/index.html +++ b/docs/documentation/06filters/index.html @@ -4,7 +4,7 @@ Collision Filters | Jitter Physics - + diff --git a/docs/intro/index.html b/docs/intro/index.html index fd51916e..9ba070d4 100644 --- a/docs/intro/index.html +++ b/docs/intro/index.html @@ -4,7 +4,7 @@ Welcome | Jitter Physics - + diff --git a/docs/quickstart/hello-world/index.html b/docs/quickstart/hello-world/index.html index 358ddaef..5145ec76 100644 --- a/docs/quickstart/hello-world/index.html +++ b/docs/quickstart/hello-world/index.html @@ -4,7 +4,7 @@ Hello World | Jitter Physics - + diff --git a/docs/quickstart/project-setup/index.html b/docs/quickstart/project-setup/index.html index acfad970..217eff69 100644 --- a/docs/quickstart/project-setup/index.html +++ b/docs/quickstart/project-setup/index.html @@ -4,7 +4,7 @@ Project Setup | Jitter Physics - + @@ -17,7 +17,7 @@