Lines Matching refs:rotate
45 *axis_x = to->rotate.axis.x;
46 *axis_y = to->rotate.axis.y;
47 *axis_z = to->rotate.axis.z;
53 *axis_x = from->rotate.axis.x;
54 *axis_y = from->rotate.axis.y;
55 *axis_z = from->rotate.axis.z;
56 *angle_from = from->rotate.angle;
60 SkMScalar length_2 = from->rotate.axis.x * from->rotate.axis.x +
61 from->rotate.axis.y * from->rotate.axis.y +
62 from->rotate.axis.z * from->rotate.axis.z;
63 SkMScalar other_length_2 = to->rotate.axis.x * to->rotate.axis.x +
64 to->rotate.axis.y * to->rotate.axis.y +
65 to->rotate.axis.z * to->rotate.axis.z;
70 SkMScalar dot = to->rotate.axis.x * from->rotate.axis.x +
71 to->rotate.axis.y * from->rotate.axis.y +
72 to->rotate.axis.z * from->rotate.axis.z;
77 *axis_x = to->rotate.axis.x;
78 *axis_y = to->rotate.axis.y;
79 *axis_z = to->rotate.axis.z;
82 *angle_from = dot > 0 ? from->rotate.angle : -from->rotate.angle;
126 SkMScalar to_angle = IsOperationIdentity(to) ? 0 : to->rotate.angle;
204 // function computes the angles we would have to rotate from p to get to
238 gfx::Vector3dF axis(exemplar->rotate.axis.x,
239 exemplar->rotate.axis.y,
240 exemplar->rotate.axis.z);
255 SkMScalar from_angle = from ? from->rotate.angle : 0.f;
256 SkMScalar to_angle = to ? to->rotate.angle : 0.f;
263 to->rotate.axis.x, to->rotate.axis.y, to->rotate.axis.z);