From 54eed1537aff4fa6217fb6b27071e7452677f6b5 Mon Sep 17 00:00:00 2001 From: linyuzhe210 <51151153@qq.com> Date: Fri, 3 Jan 2025 19:37:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E4=BA=86vector3?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E5=A4=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cross方法返回值为Vector3类型的叉积 --- mcguide/20-玩法开发/10-基本概念/10-Vector3.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcguide/20-玩法开发/10-基本概念/10-Vector3.md b/mcguide/20-玩法开发/10-基本概念/10-Vector3.md index 0399005..c0329d0 100644 --- a/mcguide/20-玩法开发/10-基本概念/10-Vector3.md +++ b/mcguide/20-玩法开发/10-基本概念/10-Vector3.md @@ -281,7 +281,7 @@ c = Vector3.Dot(a, b) # 1 * 0 + 2 * 3 + 3 * 1 = 9 | 数据类型 | 说明 | | :------- | :------------- | - | float | 两个向量的点积 | + | Vector3 | 两个向量的叉积 | - 示例 @@ -551,4 +551,4 @@ print a / 2 # 打印结果(1.5, 2, 0) - 描述 - 判断两个向量是否不等,当各分量均相等时返回False \ No newline at end of file + 判断两个向量是否不等,当各分量均相等时返回False