mbcp/api-ex.html

551 lines
44 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html lang="zh-Hans" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Runtime API Examples | MBCP docs</title>
<meta name="description" content="一个用于Minecraft粒子计算和生成的库">
<meta name="generator" content="VitePress v1.3.4">
<link rel="preload stylesheet" href="/assets/style.Bb0QBJmh.css" as="style">
<script type="module" src="/assets/app.l1Ut0uce.js"></script>
<link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/assets/chunks/theme.BPuUWxkA.js">
<link rel="modulepreload" href="/assets/chunks/framework.BV61Qrc0.js">
<link rel="modulepreload" href="/assets/api-ex.md.DOsKaL8H.lean.js">
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
</head>
<body>
<div id="app"><div class="Layout" data-v-8e016544><!--[--><!--]--><!--[--><span tabindex="-1" data-v-efdf7a7d></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-efdf7a7d> Skip to content </a><!--]--><!----><header class="VPNav" data-v-8e016544 data-v-0c3b3583><div class="VPNavBar top" data-v-0c3b3583 data-v-af8d762d><div class="wrapper" data-v-af8d762d><div class="container" data-v-af8d762d><div class="title" data-v-af8d762d><div class="VPNavBarTitle" data-v-af8d762d data-v-73c882b0><a class="title" href="/" data-v-73c882b0><!--[--><!--]--><!----><span data-v-73c882b0>MBCP docs</span><!--[--><!--]--></a></div></div><div class="content" data-v-af8d762d><div class="content-body" data-v-af8d762d><!--[--><!--]--><div class="VPNavBarSearch search" data-v-af8d762d><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-af8d762d data-v-ae469694><span id="main-nav-aria-label" class="visually-hidden" data-v-ae469694> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/guide/" tabindex="0" data-v-ae469694 data-v-4ca2fdac><!--[--><span data-v-4ca2fdac>快速开始</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/api/" tabindex="0" data-v-ae469694 data-v-4ca2fdac><!--[--><span data-v-4ca2fdac>API文档</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/demo/" tabindex="0" data-v-ae469694 data-v-4ca2fdac><!--[--><span data-v-4ca2fdac>实例</span><!--]--></a><!--]--><!--]--></nav><div class="VPFlyout VPNavBarTranslations translations" data-v-af8d762d data-v-ba521018 data-v-6d56b0ed><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="Change language" data-v-6d56b0ed><span class="text" data-v-6d56b0ed><span class="vpi-languages option-icon" data-v-6d56b0ed></span><!----><span class="vpi-chevron-down text-icon" data-v-6d56b0ed></span></span></button><div class="menu" data-v-6d56b0ed><div class="VPMenu" data-v-6d56b0ed data-v-36a6a4be><!----><!--[--><!--[--><div class="items" data-v-ba521018><p class="title" data-v-ba521018>简体中文</p><!--[--><div class="VPMenuLink" data-v-ba521018 data-v-a9b5eada><a class="VPLink link" href="/en/api-ex.html" data-v-a9b5eada><!--[-->English<!--]--></a></div><div class="VPMenuLink" data-v-ba521018 data-v-a9b5eada><a class="VPLink link" href="/ja/api-ex.html" data-v-a9b5eada><!--[-->日本語<!--]--></a></div><div class="VPMenuLink" data-v-ba521018 data-v-a9b5eada><a class="VPLink link" href="/zht/api-ex.html" data-v-a9b5eada><!--[-->繁體中文<!--]--></a></div><!--]--></div><!--]--><!--]--></div></div></div><div class="VPNavBarAppearance appearance" data-v-af8d762d data-v-fd625bab><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title="Switch to dark theme" aria-checked="false" data-v-fd625bab data-v-38c704f2 data-v-793caf05><span class="check" data-v-793caf05><span class="icon" data-v-793caf05><!--[--><span class="vpi-sun sun" data-v-38c704f2></span><span class="vpi-moon moon" data-v-38c704f2></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-af8d762d data-v-9b3d2141 data-v-0ada25a4><!--[--><a class="VPSocialLink no-icon" href="https://github.com/snowykami/mbcp" aria-label="github" target="_blank" rel="noopener" data-v-0ada25a4 data-v-36d54f99><span class="vpi-social-github" /></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-af8d762d data-v-8ac0e455 data-v-6d56b0ed><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-6d56b0ed><span class="vpi-more-horizontal icon" data-v-6d56b0ed></span></button><div class="menu" data-v-6d56b0ed><div class="VPMenu" data-v-6d56b0ed data-v-36a6a4be><!----><!--[--><!--[--><div class="group translations" data-v-8ac0e455><p class="trans-title" data-v-8ac0e455>简体中文</p><!--[--><div class="VPMenuLink" data-v-8ac0e455 data-v-a9b5eada><a class="VPLink link" href="/en/api-ex.html" data-v-a9b5eada><!--[-->English<!--
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { useData } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;vitepress&#39;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">theme</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">page</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">frontmatter</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> useData</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">()</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">script</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;--shiki-light-font-weight:bold;--shiki-dark-font-weight:bold;">## Results</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;--shiki-light-font-weight:bold;--shiki-dark-font-weight:bold;">### Theme Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ theme }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">### Page Data</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ page }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">### Page Frontmatter</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;{{ frontmatter }}&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">pre</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span></code></pre></div><h2 id="results" tabindex="-1">Results <a class="header-anchor" href="#results" aria-label="Permalink to &quot;Results&quot;"></a></h2><h3 id="theme-data" tabindex="-1">Theme Data <a class="header-anchor" href="#theme-data" aria-label="Permalink to &quot;Theme Data&quot;"></a></h3><pre>{
&quot;socialLinks&quot;: [
{
&quot;icon&quot;: &quot;github&quot;,
&quot;link&quot;: &quot;https://github.com/snowykami/mbcp&quot;
}
],
&quot;sidebar&quot;: {
&quot;/api/&quot;: [
{
&quot;text&quot;: &quot;api&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp&quot;,
&quot;link&quot;: &quot;/api/index.md&quot;
},
{
&quot;text&quot;: &quot;mp_math&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.mp_math&quot;,
&quot;link&quot;: &quot;/api/mp_math/index.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.angle&quot;,
&quot;link&quot;: &quot;/api/mp_math/angle.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.const&quot;,
&quot;link&quot;: &quot;/api/mp_math/const.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.equation&quot;,
&quot;link&quot;: &quot;/api/mp_math/equation.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.line&quot;,
&quot;link&quot;: &quot;/api/mp_math/line.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.mp_math_typing&quot;,
&quot;link&quot;: &quot;/api/mp_math/mp_math_typing.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.plane&quot;,
&quot;link&quot;: &quot;/api/mp_math/plane.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.point&quot;,
&quot;link&quot;: &quot;/api/mp_math/point.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.segment&quot;,
&quot;link&quot;: &quot;/api/mp_math/segment.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.utils&quot;,
&quot;link&quot;: &quot;/api/mp_math/utils.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.vector&quot;,
&quot;link&quot;: &quot;/api/mp_math/vector.md&quot;
}
]
},
{
&quot;text&quot;: &quot;particle&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.particle&quot;,
&quot;link&quot;: &quot;/api/particle/index.md&quot;
}
]
},
{
&quot;text&quot;: &quot;presets&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets&quot;,
&quot;link&quot;: &quot;/api/presets/index.md&quot;
},
{
&quot;text&quot;: &quot;model&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets.model&quot;,
&quot;link&quot;: &quot;/api/presets/model/index.md&quot;
}
]
}
]
}
]
}
],
&quot;/guide/&quot;: [
{
&quot;text&quot;: &quot;guide&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;开始不了一点&quot;,
&quot;link&quot;: &quot;/guide/index.md&quot;
}
]
}
],
&quot;/en/&quot;: [
{
&quot;text&quot;: &quot;en&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;api&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp&quot;,
&quot;link&quot;: &quot;/en/api/index.md&quot;
},
{
&quot;text&quot;: &quot;mp_math&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.mp_math&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/index.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.angle&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/angle.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.const&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/const.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.equation&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/equation.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.line&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/line.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.mp_math_typing&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/mp_math_typing.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.plane&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/plane.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.point&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/point.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.segment&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/segment.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.utils&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/utils.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.vector&quot;,
&quot;link&quot;: &quot;/en/api/mp_math/vector.md&quot;
}
]
},
{
&quot;text&quot;: &quot;particle&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.particle&quot;,
&quot;link&quot;: &quot;/en/api/particle/index.md&quot;
}
]
},
{
&quot;text&quot;: &quot;presets&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets&quot;,
&quot;link&quot;: &quot;/en/api/presets/index.md&quot;
},
{
&quot;text&quot;: &quot;model&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets.model&quot;,
&quot;link&quot;: &quot;/en/api/presets/model/index.md&quot;
}
]
}
]
}
]
}
]
}
],
&quot;/ja/&quot;: [
{
&quot;text&quot;: &quot;ja&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;api&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp&quot;,
&quot;link&quot;: &quot;/ja/api/index.md&quot;
},
{
&quot;text&quot;: &quot;mp_math&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.mp_math&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/index.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.angle&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/angle.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.const&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/const.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.equation&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/equation.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.line&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/line.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.mp_math_typing&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/mp_math_typing.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.plane&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/plane.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.point&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/point.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.segment&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/segment.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.utils&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/utils.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.vector&quot;,
&quot;link&quot;: &quot;/ja/api/mp_math/vector.md&quot;
}
]
},
{
&quot;text&quot;: &quot;particle&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.particle&quot;,
&quot;link&quot;: &quot;/ja/api/particle/index.md&quot;
}
]
},
{
&quot;text&quot;: &quot;presets&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets&quot;,
&quot;link&quot;: &quot;/ja/api/presets/index.md&quot;
},
{
&quot;text&quot;: &quot;model&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets.model&quot;,
&quot;link&quot;: &quot;/ja/api/presets/model/index.md&quot;
}
]
}
]
}
]
}
]
}
],
&quot;/zh-Hant/&quot;: [
{
&quot;text&quot;: &quot;zh-hant&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;api&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/index.md&quot;
},
{
&quot;text&quot;: &quot;mp_math&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.mp_math&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/index.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.angle&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/angle.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.const&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/const.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.equation&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/equation.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.line&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/line.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.mp_math_typing&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/mp_math_typing.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.plane&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/plane.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.point&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/point.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.segment&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/segment.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.utils&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/utils.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.vector&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/mp_math/vector.md&quot;
}
]
},
{
&quot;text&quot;: &quot;particle&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.particle&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/particle/index.md&quot;
}
]
},
{
&quot;text&quot;: &quot;presets&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/presets/index.md&quot;
},
{
&quot;text&quot;: &quot;model&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets.model&quot;,
&quot;link&quot;: &quot;/zh-Hant/api/presets/model/index.md&quot;
}
]
}
]
}
]
}
]
}
],
&quot;/zht/&quot;: [
{
&quot;text&quot;: &quot;zht&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;api&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp&quot;,
&quot;link&quot;: &quot;/zht/api/index.md&quot;
},
{
&quot;text&quot;: &quot;mp_math&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.mp_math&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/index.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.angle&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/angle.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.const&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/const.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.equation&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/equation.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.line&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/line.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.mp_math_typing&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/mp_math_typing.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.plane&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/plane.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.point&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/point.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.segment&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/segment.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.utils&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/utils.md&quot;
},
{
&quot;text&quot;: &quot;mbcp.mp_math.vector&quot;,
&quot;link&quot;: &quot;/zht/api/mp_math/vector.md&quot;
}
]
},
{
&quot;text&quot;: &quot;particle&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.particle&quot;,
&quot;link&quot;: &quot;/zht/api/particle/index.md&quot;
}
]
},
{
&quot;text&quot;: &quot;presets&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets&quot;,
&quot;link&quot;: &quot;/zht/api/presets/index.md&quot;
},
{
&quot;text&quot;: &quot;model&quot;,
&quot;items&quot;: [
{
&quot;text&quot;: &quot;mbcp.presets.model&quot;,
&quot;link&quot;: &quot;/zht/api/presets/model/index.md&quot;
}
]
}
]
}
]
}
]
}
],
&quot;/api-ex.md/&quot;: [
{
&quot;text&quot;: &quot;Runtime API Examples&quot;,
&quot;items&quot;: []
}
],
&quot;/md-ex.md/&quot;: [
{
&quot;text&quot;: &quot;Markdown Extension Examples&quot;,
&quot;items&quot;: []
}
]
},
&quot;nav&quot;: [
{
&quot;text&quot;: &quot;快速开始&quot;,
&quot;link&quot;: &quot;/guide/&quot;
},
{
&quot;text&quot;: &quot;API文档&quot;,
&quot;link&quot;: &quot;/api/&quot;
},
{
&quot;text&quot;: &quot;实例&quot;,
&quot;link&quot;: &quot;/demo/&quot;
}
]
}</pre><h3 id="page-data" tabindex="-1">Page Data <a class="header-anchor" href="#page-data" aria-label="Permalink to &quot;Page Data&quot;"></a></h3><pre>{
&quot;title&quot;: &quot;Runtime API Examples&quot;,
&quot;description&quot;: &quot;&quot;,
&quot;frontmatter&quot;: {
&quot;outline&quot;: &quot;deep&quot;
},
&quot;headers&quot;: [],
&quot;relativePath&quot;: &quot;api-ex.md&quot;,
&quot;filePath&quot;: &quot;api-ex.md&quot;
}</pre><h3 id="page-frontmatter" tabindex="-1">Page Frontmatter <a class="header-anchor" href="#page-frontmatter" aria-label="Permalink to &quot;Page Frontmatter&quot;"></a></h3><pre>{
&quot;outline&quot;: &quot;deep&quot;
}</pre><h2 id="more" tabindex="-1">More <a class="header-anchor" href="#more" aria-label="Permalink to &quot;More&quot;"></a></h2><p>Check out the documentation for the <a href="https://vitepress.dev/reference/runtime-api#usedata" target="_blank" rel="noreferrer">full list of runtime APIs</a>.</p></div></div></main><footer class="VPDocFooter" data-v-aa782c77 data-v-f33b051d><!--[--><!--]--><!----><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"api-ex.md\":\"DOsKaL8H\",\"api_index.md\":\"BvazTqTB\",\"api_mp_math_angle.md\":\"B8w0LP6o\",\"api_mp_math_const.md\":\"BzOZuyZq\",\"api_mp_math_equation.md\":\"Ck19tFkF\",\"api_mp_math_index.md\":\"4P0hk6gb\",\"api_mp_math_line.md\":\"B1jAKPr1\",\"api_mp_math_mp_math_typing.md\":\"B0OaWJmF\",\"api_mp_math_plane.md\":\"DLB54RNP\",\"api_mp_math_point.md\":\"BwXaSbuz\",\"api_mp_math_segment.md\":\"C6i78ST1\",\"api_mp_math_utils.md\":\"Bkx3QJ6f\",\"api_mp_math_vector.md\":\"Efti6kdT\",\"api_particle_index.md\":\"BRCSxC3e\",\"api_presets_index.md\":\"Dl6Ss91J\",\"api_presets_model_index.md\":\"DY6YMRqf\",\"en_api_index.md\":\"Bgu-LD1B\",\"en_api_mp_math_angle.md\":\"DmK_A9xI\",\"en_api_mp_math_const.md\":\"6yNmEodn\",\"en_api_mp_math_equation.md\":\"DyRN0jPI\",\"en_api_mp_math_index.md\":\"DrjDUYBY\",\"en_api_mp_math_line.md\":\"BBlzflWh\",\"en_api_mp_math_mp_math_typing.md\":\"Ba9aYPR2\",\"en_api_mp_math_plane.md\":\"cxytQLD4\",\"en_api_mp_math_point.md\":\"CXQGh5Zt\",\"en_api_mp_math_segment.md\":\"CxreVgqR\",\"en_api_mp_math_utils.md\":\"aavLLFMy\",\"en_api_mp_math_vector.md\":\"BvKJEw7_\",\"en_api_particle_index.md\":\"CmC1QX5o\",\"en_api_presets_index.md\":\"CZ5hl_7D\",\"en_api_presets_model_index.md\":\"DBfUZUBC\",\"guide_index.md\":\"BE2yloik\",\"index.md\":\"BE1qChTt\",\"ja_api_index.md\":\"4BnflFIm\",\"ja_api_mp_math_angle.md\":\"DxBe_g0o\",\"ja_api_mp_math_const.md\":\"CflutYeA\",\"ja_api_mp_math_equation.md\":\"3a6umjdP\",\"ja_api_mp_math_index.md\":\"CSAMHYsB\",\"ja_api_mp_math_line.md\":\"CMfQT6TH\",\"ja_api_mp_math_mp_math_typing.md\":\"Bhy6h0r0\",\"ja_api_mp_math_plane.md\":\"Cm4a8eqF\",\"ja_api_mp_math_point.md\":\"CQAIjHfb\",\"ja_api_mp_math_segment.md\":\"D0U5bMSu\",\"ja_api_mp_math_utils.md\":\"CXGqGLUs\",\"ja_api_mp_math_vector.md\":\"C9TtayJk\",\"ja_api_particle_index.md\":\"E2YnH7EN\",\"ja_api_presets_index.md\":\"ATGcHt9d\",\"ja_api_presets_model_index.md\":\"DAVK1sDI\",\"md-ex.md\":\"BX0WqOqv\",\"zh-hant_api_index.md\":\"D-iBkJb-\",\"zh-hant_api_mp_math_angle.md\":\"eKQSpiMX\",\"zh-hant_api_mp_math_const.md\":\"B_tZ9wL7\",\"zh-hant_api_mp_math_equation.md\":\"DPinrp8_\",\"zh-hant_api_mp_math_index.md\":\"B8NLV8Cf\",\"zh-hant_api_mp_math_line.md\":\"B-s8aLxY\",\"zh-hant_api_mp_math_mp_math_typing.md\":\"DOwDUOu8\",\"zh-hant_api_mp_math_plane.md\":\"B60Bzq3i\",\"zh-hant_api_mp_math_point.md\":\"BEsHV_8G\",\"zh-hant_api_mp_math_segment.md\":\"C-4eJk-Y\",\"zh-hant_api_mp_math_utils.md\":\"z2lMMpnT\",\"zh-hant_api_mp_math_vector.md\":\"n5Efae6D\",\"zh-hant_api_particle_index.md\":\"BlduIPtw\",\"zh-hant_api_presets_index.md\":\"CDyg87e9\",\"zh-hant_api_presets_model_index.md\":\"DCHpjjZ_\",\"zht_api_index.md\":\"Dq4XPUKZ\",\"zht_api_mp_math_angle.md\":\"_4N19GGe\",\"zht_api_mp_math_const.md\":\"CIhADrI2\",\"zht_api_mp_math_equation.md\":\"2k-eEs3U\",\"zht_api_mp_math_index.md\":\"D09y2ubg\",\"zht_api_mp_math_line.md\":\"4ncoPmkZ\",\"zht_api_mp_math_mp_math_typing.md\":\"DlxSozR9\",\"zht_api_mp_math_plane.md\":\"Buk-SLcC\",\"zht_api_mp_math_point.md\":\"Bb3tyGv-\",\"zht_api_mp_math_segment.md\":\"U_lS4vUA\",\"zht_api_mp_math_utils.md\":\"ig9jQkoA\",\"zht_api_mp_math_vector.md\":\"CDyAXuJb\",\"zht_api_particle_index.md\":\"kAm9VAEw\",\"zht_api_presets_index.md\":\"BmouaEaT\",\"zht_api_presets_model_index.md\":\"CrdAyyCM\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"MBCP docs\",\"description\":\"MBCP library docs\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/snowykami/mbcp\"}],\"sidebar\":{\"/api/\":[{\"text\":\"api\",\"items\":[{\"text\":\"mbcp\",\"link\":\"/api/index.md\"},{\"text\":\"mp_math\",\"items\":[{\"text\":\"mbcp.mp_math\",\"link\":\"/api/mp_math/index.md\"},{\"text\":\"mbcp.mp_math.angle\",\"link\":\"/api/mp_math/angle.md\"},{\"text\":\"mbcp.mp_math.const\",\"link\":\"/api/mp_math/const.md\"},{\"text\":\"mbcp.mp_math.equation\",\"link\":\"/api/mp_math/equation.md\"},{\"text\":\"mbcp.m
</body>
</html>