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;
276
left.
_w
+= 1;
283
right.
_w
+= 1;
323
left.
_w
-= 1;
396
_w
= scale;
403
_w
*= scale;
468
from.
_w
= 1;
472
to.
_w
= 1;
497
to.
_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)
143
double mcos =
_w
;
157
mcos =
_w
/maxcoeff;
176
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
188
return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 &&
_w
== 1);
220
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
237
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
244
Math.Abs(
_w
));
250
norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
291
left.
_w
+ right.
_w
);
330
return new Quaternion(-right._x, -right._y, -right._z, 1 - right.
_w
);
337
left.
_w
- right.
_w
);
369
double x = left.
_w
* right._x + left._x * right.
_w
+ left._y * right._z - left._z * right._y;
370
double y = left.
_w
* right._y + left._y * right.
_w
+ left._z * right._x - left._x * right._z;
371
double z = left.
_w
* right._z + left._z * right.
_w
+ left._x * right._y - left._y * right._x;
372
double w = left.
_w
* right.
_w
- left._x * right._x - left._y * right._y - left._z * right._z;
416
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
427
Math.Max(Math.Abs(_z),Math.Abs(
_w
)));
432
double w =
_w
/max;
485
cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from.
_w
*to.
_w
;
497
to._w = -to.
_w
;
568
scaleFrom*from.
_w
+ scaleTo*to.
_w
);
672
return
_w
;