9 writes to _x
PresentationCore (9)
Core\CSharp\System\Windows\Media3D\Quaternion.cs (9)
78_x = x; 99_x = v.X; 227_x = -_x; 245_x /= norm2; 270_x *= rmax; 277_x *= normInverse; 425_x *= scale; 519to._x = -to._x; 638_x = value;
41 references to _x
PresentationCore (41)
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (1)
347_x,
Core\CSharp\System\Windows\Media3D\Quaternion.cs (40)
140if (IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0)) 146Vector3D v = new Vector3D(_x, _y, _z); 166double msin = Math.Sqrt(_x*_x + _y*_y + _z*_z); 175double maxcoeff = Math.Max(Math.Abs(_x),Math.Max(Math.Abs(_y),Math.Abs(_z))); 176double x = _x/maxcoeff; 200double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 212return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 && _w == 1); 227_x = -_x; 244double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 261double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 265double rmax = 1.0/Max(Math.Abs(_x), 274norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 312return new Quaternion(left._x + right._x, 354return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 358return new Quaternion(left._x - right._x, 393double x = left._w * right._x + left._x * right._w + left._y * right._z - left._z * right._y; 394double y = left._w * right._y + left._y * right._w + left._z * right._x - left._x * right._z; 395double z = left._w * right._z + left._z * right._w + left._x * right._y - left._y * right._x; 396double w = left._w * right._w - left._x * right._x - left._y * right._y - left._z * right._z; 441double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 451double max = Math.Max(Math.Max(Math.Abs(_x),Math.Abs(_y)), 454double x = _x/max; 510cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from._w*to._w; 519to._x = -to._x; 590return new Quaternion(scaleFrom*from._x + scaleTo*to._x, 628return _x;