zoo*_*opa 9 math 3d graphics coordinate-systems cross-product
用于计算左手坐标的交叉积的方法是否改变?
Sve*_*ach 14
为向量的叉积的公式(x1, x2, x3)和(y1, y2, y3)是
z1 = x2 * y3 - x3 * y2
z2 = x3 * y1 - x1 * y3
z3 = x1 * y2 - x2 * y1
Run Code Online (Sandbox Code Playgroud)
它的设计方式是三个矢量x,y并且z按给定的顺序具有与坐标系本身相同的手性.此属性不依赖于坐标系的手性 - 对于左手坐标系,矢量满足左手规则.您无需更改公式的任何内容.
有用的链接: