All pastes #32468 Raw Edit

Something

public java v1 · immutable
#32468 ·published 2005-12-05 04:10 UTC
rendered paste body
public void updateKnownObjects()    {        Point3D worldPosition = owner.getWorldPosition();        if (worldPosition.distanceSquaredTo(lastPosition) > MINIMUM_UPDATE_DISTANCE_SQUARED)        {            forgetDistantObjects();            findCloseObjects();                        lastPosition.setTo(worldPosition);        }    }