setGaze method

void setGaze(
  1. double x,
  2. double y
)

This is a function that modifies the x and y values of GazeInfo

Implementation

void setGaze(double x, double y) {
  this.x = x;
  this.y = y;
}