Updates to objects should not be done in frame by frame basis, but by time difference. This commit adds time diff function which can be used to tell how much time has passed since last frame.
Updates to objects should not be done in frame by frame basis, but by time difference. This commit adds time diff function which can be used to tell how much time has passed since last frame.