9 writes to _x
PresentationCore (9)
System\Windows\Media3D\Quaternion.cs (9)
73_x = x; 94_x = v.X; 222_x = -_x; 240_x /= norm2; 265_x *= rmax; 272_x *= normInverse; 419_x *= scale; 513to._x = -to._x; 632_x = value;
41 references to _x
PresentationCore (41)
System\Windows\Media3D\Generated\Quaternion.cs (1)
339_x,
System\Windows\Media3D\Quaternion.cs (40)
135if (IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0)) 141Vector3D v = new Vector3D(_x, _y, _z); 161double msin = Math.Sqrt(_x*_x + _y*_y + _z*_z); 170double maxcoeff = Math.Max(Math.Abs(_x),Math.Max(Math.Abs(_y),Math.Abs(_z))); 171double x = _x/maxcoeff; 195double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 207return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 && _w == 1); 222_x = -_x; 239double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 256double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 260double rmax = 1.0/Max(Math.Abs(_x), 269norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 307return new Quaternion(left._x + right._x, 349return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 353return new Quaternion(left._x - right._x, 388double x = left._w * right._x + left._x * right._w + left._y * right._z - left._z * right._y; 389double y = left._w * right._y + left._y * right._w + left._z * right._x - left._x * right._z; 390double z = left._w * right._z + left._z * right._w + left._x * right._y - left._y * right._x; 391double w = left._w * right._w - left._x * right._x - left._y * right._y - left._z * right._z; 435double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 445double max = Math.Max(Math.Max(Math.Abs(_x),Math.Abs(_y)), 448double x = _x/max; 504cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from._w*to._w; 513to._x = -to._x; 584return new Quaternion(scaleFrom*from._x + scaleTo*to._x, 622return _x;