4d-vector & 4d-vector, performs a quaternion multiplication
defined as:
w = v1.w * v2.w - (v1.xyz | v2.xyz)
xyz = v1.xyz * v2.w + v2.xyz * v1.w + (v1.xyz & v2.xyz)
code is:
x = v1.w*v2.x + v1.x*v2.w + v1.y*v2.z - v1.z*v2.y
y = v1.w*v2.y + v1.y*v2.w + v1.z*v2.x - v1.x*v2.z
z = v1.w*v2.z + v1.z*v2.w + v1.x*v2.y - v1.y*v2.x
w = v1.w*v2.w - v1.x*v2.x - v1.y*v2.y - v1.z*v2.z
Namespace: VVVV.Utils.VMathAssembly: VVVV.Utils (in VVVV.Utils.dll) Version: 1.0.4694.10871
Syntax
Parameters
- v1
- Type: VVVV.Utils.VMath..::..Vector4D
[Missing <param name="v1"/> documentation for "M:VVVV.Utils.VMath.Vector4D.op_BitwiseAnd(VVVV.Utils.VMath.Vector4D,VVVV.Utils.VMath.Vector4D)"]
- v2
- Type: VVVV.Utils.VMath..::..Vector4D
[Missing <param name="v2"/> documentation for "M:VVVV.Utils.VMath.Vector4D.op_BitwiseAnd(VVVV.Utils.VMath.Vector4D,VVVV.Utils.VMath.Vector4D)"]