9 writes to _x
PresentationCore (9)
System\Windows\Media3D\Quaternion.cs (9)
54_x = x; 75_x = v.X; 203_x = -_x; 221_x /= norm2; 246_x *= rmax; 253_x *= normInverse; 400_x *= scale; 494to._x = -to._x; 613_x = value;
41 references to _x
PresentationCore (41)
System\Windows\Media3D\Generated\Quaternion.cs (1)
318_x,
System\Windows\Media3D\Quaternion.cs (40)
116if (IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0)) 122Vector3D v = new Vector3D(_x, _y, _z); 142double msin = Math.Sqrt(_x*_x + _y*_y + _z*_z); 151double maxcoeff = Math.Max(Math.Abs(_x),Math.Max(Math.Abs(_y),Math.Abs(_z))); 152double x = _x/maxcoeff; 176double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 188return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 && _w == 1); 203_x = -_x; 220double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 237double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 241double rmax = 1.0/Max(Math.Abs(_x), 250norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 288return new Quaternion(left._x + right._x, 330return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 334return new Quaternion(left._x - right._x, 369double x = left._w * right._x + left._x * right._w + left._y * right._z - left._z * right._y; 370double y = left._w * right._y + left._y * right._w + left._z * right._x - left._x * right._z; 371double z = left._w * right._z + left._z * right._w + left._x * right._y - left._y * right._x; 372double w = left._w * right._w - left._x * right._x - left._y * right._y - left._z * right._z; 416double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 426double max = Math.Max(Math.Max(Math.Abs(_x),Math.Abs(_y)), 429double x = _x/max; 485cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from._w*to._w; 494to._x = -to._x; 565return new Quaternion(scaleFrom*from._x + scaleTo*to._x, 603return _x;