Skip to content

Commit

Permalink
feat: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
KeSuave committed Nov 21, 2024
1 parent 1f38211 commit 9336fe0
Show file tree
Hide file tree
Showing 63 changed files with 12,598 additions and 3,476 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?

!docs/dist
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ worldContainer.add([
worldContainer.add([
k.color(200, 200, 200),
k.kpPos(k.kpCenter().sub({ x: k.rand(-10, 10), y: k.rand(10, 15) })),
k.kpRotate(),
k.kpCircleShape({
radius: 1,
draw: true,
Expand Down
1 change: 1 addition & 0 deletions docs/dist/.vocs/search-index-3132fbfe.json

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions docs/dist/assets/KPBodyComp-CpW3R8PQ.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import{u as i,j as e}from"./index-DZnhVgSO.js";const t={title:"Interface: KPBodyComp",description:"undefined"};function r(d){const n={a:"a",blockquote:"blockquote",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...i(),...d.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"interface-kpbodycomp",children:["Interface: KPBodyComp",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#interface-kpbodycomp",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),`
`,e.jsxs(n.h2,{id:"extends",children:["Extends",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#extends",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.ul,{children:[`
`,e.jsx(n.li,{children:e.jsx(n.code,{children:"Comp"})}),`
`]}),`
`,e.jsxs(n.h2,{id:"properties",children:["Properties",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#properties",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.h3,{id:"body",children:["body",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#body",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"body"}),": ",e.jsx(n.code,{children:"null"})," | ",e.jsx(n.code,{children:"Body"})]}),`
`]}),`
`,e.jsx(n.hr,{}),`
`,e.jsxs(n.h3,{id:"inspectcolor",children:["inspectColor",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#inspectcolor",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"inspectColor"}),": ",e.jsx(n.code,{children:"object"})]}),`
`]}),`
`,e.jsxs(n.h4,{id:"b",children:["b",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#b",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"b"}),": ",e.jsx(n.code,{children:"number"})]}),`
`]}),`
`,e.jsxs(n.h4,{id:"g",children:["g",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#g",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"g"}),": ",e.jsx(n.code,{children:"number"})]}),`
`]}),`
`,e.jsxs(n.h4,{id:"r",children:["r",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#r",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"r"}),": ",e.jsx(n.code,{children:"number"})]}),`
`]})]})}function o(d={}){const{wrapper:n}={...i(),...d.components};return n?e.jsx(n,{...d,children:e.jsx(r,{...d})}):r(d)}export{o as default,t as frontmatter};
12 changes: 12 additions & 0 deletions docs/dist/assets/KPBoxShapeComp-Cblnv8aP.js

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

32 changes: 32 additions & 0 deletions docs/dist/assets/KPBoxShapeCompOpts-SDF6hUrU.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
import{u as d,j as e}from"./index-DZnhVgSO.js";const a={title:"Interface: KPBoxShapeCompOpts",description:"undefined"};function i(r){const n={a:"a",blockquote:"blockquote",code:"code",div:"div",h1:"h1",h2:"h2",h3:"h3",h4:"h4",header:"header",hr:"hr",li:"li",p:"p",strong:"strong",ul:"ul",...d(),...r.components};return e.jsxs(e.Fragment,{children:[e.jsx(n.header,{children:e.jsxs(n.h1,{id:"interface-kpboxshapecompopts",children:["Interface: KPBoxShapeCompOpts",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#interface-kpboxshapecompopts",children:e.jsx(n.div,{"data-autolink-icon":!0})})]})}),`
`,e.jsxs(n.h2,{id:"extends",children:["Extends",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#extends",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.ul,{children:[`
`,e.jsx(n.li,{children:e.jsx(n.a,{href:"/KaPlanck/api/interfaces/KPShapeCompOpt47",children:e.jsx(n.code,{children:"KPShapeCompOpt"})})}),`
`]}),`
`,e.jsxs(n.h2,{id:"properties",children:["Properties",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#properties",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.h3,{id:"angle",children:["angle?",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#angle",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.code,{children:"optional"})," ",e.jsx(n.strong,{children:"angle"}),": ",e.jsx(n.code,{children:"number"})]}),`
`]}),`
`,e.jsx(n.hr,{}),`
`,e.jsxs(n.h3,{id:"center",children:["center?",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#center",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.code,{children:"optional"})," ",e.jsx(n.strong,{children:"center"}),": ",e.jsx(n.code,{children:"Vec2Value"})]}),`
`]}),`
`,e.jsx(n.hr,{}),`
`,e.jsxs(n.h3,{id:"draw",children:["draw?",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#draw",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.code,{children:"optional"})," ",e.jsx(n.strong,{children:"draw"}),": ",e.jsx(n.code,{children:"boolean"})]}),`
`]}),`
`,e.jsxs(n.h4,{id:"inherited-from",children:["Inherited from",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#inherited-from",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.p,{children:[e.jsx(n.a,{href:"/KaPlanck/api/interfaces/KPShapeCompOpt287",children:e.jsx(n.code,{children:"KPShapeCompOpt"})}),".",e.jsx(n.a,{href:"/KaPlanck/api/interfaces/KPShapeCompOpt#draw338",children:e.jsx(n.code,{children:"draw"})})]}),`
`,e.jsx(n.hr,{}),`
`,e.jsxs(n.h3,{id:"halfheight",children:["halfHeight",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#halfheight",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"halfHeight"}),": ",e.jsx(n.code,{children:"number"})]}),`
`]}),`
`,e.jsx(n.hr,{}),`
`,e.jsxs(n.h3,{id:"halfwidth",children:["halfWidth",e.jsx(n.a,{"aria-hidden":"true",tabIndex:"-1",href:"#halfwidth",children:e.jsx(n.div,{"data-autolink-icon":!0})})]}),`
`,e.jsxs(n.blockquote,{children:[`
`,e.jsxs(n.p,{children:[e.jsx(n.strong,{children:"halfWidth"}),": ",e.jsx(n.code,{children:"number"})]}),`
`]})]})}function t(r={}){const{wrapper:n}={...d(),...r.components};return n?e.jsx(n,{...r,children:e.jsx(i,{...r})}):i(r)}export{t as default,a as frontmatter};
12 changes: 12 additions & 0 deletions docs/dist/assets/KPChainShapeComp-DJLflg8O.js

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

22 changes: 22 additions & 0 deletions docs/dist/assets/KPChainShapeCompOpt-BtliqoNZ.js

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

12 changes: 12 additions & 0 deletions docs/dist/assets/KPCircleShapeComp-Cubw7ycV.js

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

22 changes: 22 additions & 0 deletions docs/dist/assets/KPCircleShapeCompOpt-k4Ulv8Ej.js

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

12 changes: 12 additions & 0 deletions docs/dist/assets/KPEdgeShapeComp-CO084JE3.js

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

Loading

0 comments on commit 9336fe0

Please sign in to comment.