Sp3dCameraRotationController constructor
Sp3dCameraRotationController({})
Constructor
- rotationSpeed : The rotation speed of the camera relative to the amount of swipe by the user.
- sp : The drag start position. No need to specify in normal cases.
axis
: Rotation axis. No need to specify in normal cases.- diff : Parameter for calculation of rotation. No need to specify in normal cases.
- lastDiff : Parameter for calculation of rotation. No need to specify in normal cases.
Implementation
Sp3dCameraRotationController(
{this.rotationSpeed = 1.0,
this.sp = _zero,
Sp3dV3D? axis,
this.diff = _zero,
this.lastDiff = _zero}) {
this.axis = axis ?? Sp3dV3D(0, 0, 0);
}