14 writes to _w
PresentationCore (14)
System\Windows\Media3D\Quaternion.cs (14)
57_w = w; 78_w = Math.Cos(0.5 * angleInRadians); 224_w /= norm2; 249_w *= rmax; 256_w *= normInverse; 276left._w += 1; 283right._w += 1; 323left._w -= 1; 396_w = scale; 403_w *= scale; 468from._w = 1; 472to._w = 1; 497to._w = -to._w; 683_w = value;
36 references to _w
PresentationCore (36)
System\Windows\Media3D\Generated\Quaternion.cs (1)
321_w);
System\Windows\Media3D\Quaternion.cs (35)
143double mcos = _w; 157mcos = _w/maxcoeff; 176double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 188return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 && _w == 1); 220double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 237double norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 244Math.Abs(_w)); 250norm2 = _x*_x + _y*_y + _z*_z + _w*_w; 291left._w + right._w); 330return new Quaternion(-right._x, -right._y, -right._z, 1 - right._w); 337left._w - right._w); 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; 427Math.Max(Math.Abs(_z),Math.Abs(_w))); 432double w = _w/max; 485cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from._w*to._w; 497to._w = -to._w; 568scaleFrom*from._w + scaleTo*to._w); 672return _w;