queueRotationUpdate method

  1. @override
Future queueRotationUpdate(
  1. ThermionEntity entity,
  2. double rads,
  3. double x,
  4. double y,
  5. double z, {
  6. bool relative = false,
})
override

Implementation

@override
Future queueRotationUpdate(
    ThermionEntity entity, double rads, double x, double y, double z,
    {bool relative = false}) async {
  var quat = Quaternion.axisAngle(Vector3(x, y, z), rads);
  await queueRotationUpdateQuat(entity, quat, relative: relative);
}