摘要:
# 第1种写法: Vector3.Slerp(v1, v2, percent) using UnityEngine; public class SmoothSetDirection : MonoBehaviour { public Transform tf1; public Transform tf 阅读全文
posted @ 2022-06-18 20:50
yanghui01
阅读(415)
评论(0)
推荐(0)
摘要:
向量普通乘 (x1, y1, z1)*(x2, y2, z2)=(x1*x2, y1*y2, z1*z2) 普通乘这个式子就是让分量相乘,没有为啥是这么算。shader中的Blend的颜色乘 DstColor*SrcColor + Zero*DstColor也是类似 Vector3.Dot(v1, 阅读全文
posted @ 2022-06-18 14:06
yanghui01
阅读(1091)
评论(0)
推荐(0)

浙公网安备 33010602011771号