14 writes to _w
PresentationCore (14)
Core\CSharp\System\Windows\Media3D\Quaternion.cs (14)
81_w = w; 102_w = Math.Cos(0.5 * angleInRadians); 248_w /= norm2; 273_w *= rmax; 280_w *= normInverse; 300left._w += 1; 307right._w += 1; 347left._w -= 1; 421_w = scale; 428_w *= scale; 493from._w = 1; 497to._w = 1; 522to._w = -to._w; 708_w = value;
36 references to _w
PresentationCore (36)
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (1)
350_w);
Core\CSharp\System\Windows\Media3D\Quaternion.cs (35)
167double mcos = _w; 181mcos = _w/maxcoeff; 200double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 212return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 && _w == 1); 244double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 261double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 268Math.Abs(_w)); 274norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 315left._w + right._w); 354return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 361left._w - right._w); 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; 452Math.Max(Math.Abs(_z),Math.Abs(_w))); 457double w = _w/max; 510cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from._w*to._w; 522to._w = -to._w; 593scaleFrom*from._w + scaleTo*to._w); 697return _w;