init method

void init(
  1. int w,
  2. int h
)

Implementation

void init(int w, int h) {
  shift = Vector2.zero();
  viewfinder = Vector2.zero();
  viewport = Vector2(w + 0.0, h + 0.0);
}