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;
300
left.
_w
+= 1;
307
right.
_w
+= 1;
347
left.
_w
-= 1;
421
_w
= scale;
428
_w
*= scale;
493
from.
_w
= 1;
497
to.
_w
= 1;
522
to.
_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)
167
double mcos =
_w
;
181
mcos =
_w
/maxcoeff;
200
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
212
return IsDistinguishedIdentity || (_x == 0 && _y == 0 && _z == 0 &&
_w
== 1);
244
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
261
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
268
Math.Abs(
_w
));
274
norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
315
left.
_w
+ right.
_w
);
354
return new Quaternion(-right._x, -right._y, -right._z, 1 - right.
_w
);
361
left.
_w
- right.
_w
);
393
double x = left.
_w
* right._x + left._x * right.
_w
+ left._y * right._z - left._z * right._y;
394
double y = left.
_w
* right._y + left._y * right.
_w
+ left._z * right._x - left._x * right._z;
395
double z = left.
_w
* right._z + left._z * right.
_w
+ left._x * right._y - left._y * right._x;
396
double w = left.
_w
* right.
_w
- left._x * right._x - left._y * right._y - left._z * right._z;
441
double norm2 = _x*_x + _y*_y + _z*_z +
_w
*
_w
;
452
Math.Max(Math.Abs(_z),Math.Abs(
_w
)));
457
double w =
_w
/max;
510
cosOmega = from._x*to._x + from._y*to._y + from._z*to._z + from.
_w
*to.
_w
;
522
to._w = -to.
_w
;
593
scaleFrom*from.
_w
+ scaleTo*to.
_w
);
697
return
_w
;