mirror of
https://github.com/snowykami/mbcp.git
synced 2024-11-24 23:35:04 +08:00
📝 docs: add some tips
This commit is contained in:
parent
803a0b9498
commit
114d262b68
@ -1,29 +1,3 @@
|
|||||||
import DefaultTheme from 'vitepress/theme-without-fonts'
|
import DefaultTheme from 'vitepress/theme-without-fonts'
|
||||||
import Theme from 'vitepress/theme'
|
|
||||||
import {createI18n} from 'vue-i18n'
|
|
||||||
import './fonts.css'
|
import './fonts.css'
|
||||||
|
export default DefaultTheme
|
||||||
const i18n = createI18n({
|
|
||||||
// something vue-i18n options here ..
|
|
||||||
messages: {
|
|
||||||
en: {
|
|
||||||
tip: "TIP",
|
|
||||||
},
|
|
||||||
ja: {
|
|
||||||
tip: "ヒント",
|
|
||||||
},
|
|
||||||
zh: {
|
|
||||||
tip: "提示",
|
|
||||||
},
|
|
||||||
zht: {
|
|
||||||
tip: "提示",
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
|
|
||||||
export default {
|
|
||||||
extends: Theme,
|
|
||||||
enhanceApp({app}) {
|
|
||||||
app.use(i18n)
|
|
||||||
}
|
|
||||||
}
|
|
@ -98,7 +98,7 @@ class Plane3:
|
|||||||
def cal_intersection_line3(self, other: 'Plane3') -> 'Line3':
|
def cal_intersection_line3(self, other: 'Plane3') -> 'Line3':
|
||||||
r"""
|
r"""
|
||||||
计算两平面的交线。
|
计算两平面的交线。
|
||||||
:::tip {{ $t('tip') }}
|
:::tip
|
||||||
计算两平面交线的一般步骤:
|
计算两平面交线的一般步骤:
|
||||||
1. 求两平面的法向量的叉乘得到方向向量
|
1. 求两平面的法向量的叉乘得到方向向量
|
||||||
$$ d = n1 \times n2 $$
|
$$ d = n1 \times n2 $$
|
||||||
|
Loading…
Reference in New Issue
Block a user