O'Reilly logo
  • Rohit Johri thinks this is interesting:

lastPos

From

Cover of Learn ARCore - Fundamentals of Google ARCore

Note

Use 'var lastPos=0;' before this line to define pose. Otherwise this condition will never be satisfied.