9 writes to _x
PresentationCore (9)
Core\CSharp\System\Windows\Media3D\Quaternion.cs (9)
78
_x
= x;
99
_x
= v.X;
227
_x
= -_x;
245
_x
/= norm2;
270
_x
*= rmax;
277
_x
*= normInverse;
425
_x
*= scale;
519
to.
_x
= -to._x;
638
_x
= value;
41 references to _x
PresentationCore (41)
Core\CSharp\System\Windows\Media3D\Generated\Quaternion.cs (1)
347
_x
,
Core\CSharp\System\Windows\Media3D\Quaternion.cs (40)
140
if (IsDistinguishedIdentity || (
_x
== 0 && _y == 0 && _z == 0))
146
Vector3D v = new Vector3D(
_x
, _y, _z);
166
double msin = Math.Sqrt(
_x
*
_x
+ _y*_y + _z*_z);
175
double maxcoeff = Math.Max(Math.Abs(
_x
),Math.Max(Math.Abs(_y),Math.Abs(_z)));
176
double x =
_x
/maxcoeff;
200
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
212
return IsDistinguishedIdentity || (
_x
== 0 && _y == 0 && _z == 0 && _w == 1);
227
_x = -
_x
;
244
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
261
double norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
265
double rmax = 1.0/Max(Math.Abs(
_x
),
274
norm2 =
_x
*
_x
+ _y*_y + _z*_z + _w*_w;
312
return new Quaternion(left.
_x
+ right.
_x
,
354
return new Quaternion(-right.
_x
, -right._y, -right._z, 1 - right._w);
358
return new Quaternion(left.
_x
- right.
_x
,
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;
451
double max = Math.Max(Math.Max(Math.Abs(
_x
),Math.Abs(_y)),
454
double x =
_x
/max;
510
cosOmega = from.
_x
*to.
_x
+ from._y*to._y + from._z*to._z + from._w*to._w;
519
to._x = -to.
_x
;
590
return new Quaternion(scaleFrom*from.
_x
+ scaleTo*to.
_x
,
628
return
_x
;