From 35537c5b1548ec72c19078e4cb54d7b071b1b104 Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 7 Sep 2024 00:52:34 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20vector:=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8A=95=E5=BD=B1=E5=90=91=E9=87=8F=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mbcp/mp_math/vector.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbcp/mp_math/vector.py b/mbcp/mp_math/vector.py index 920ce91..d854d0f 100644 --- a/mbcp/mp_math/vector.py +++ b/mbcp/mp_math/vector.py @@ -106,9 +106,9 @@ class Vector3: def project(self, other: 'Vector3') -> 'Vector3': r""" - 返回自向量在另一个向量上的投影向量。 + 计算自向量在另一个向量上的投影向量。 :::tip - 投影向量计算公式: + 投影向量计算公式,$proj_v(u)$表示向量$u$在向量$v$上的投影向量: $$ \text{proj}_v(u) = \frac{u \cdot v}{|v|^2} \cdot v $$ ::: Args: