DistortionMesh constructor

DistortionMesh({
  1. List<double> coefficients = const [0.441, 0.156],
  2. int resolution = 40,
  3. double screenToLensDistance = 0.042,
  4. double interLensDistance = 0.06,
})

Implementation

DistortionMesh({
  this.coefficients = const [0.441, 0.156],
  this.resolution = 40,
  this.screenToLensDistance = 0.042,
  this.interLensDistance = 0.06,
}) {
  _computeMesh();
}