Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vector oldPosition; // (x, y, z)
- Vector directionOfMove; // (x, y, z)
- double deltaT; // currentTime - oldPositionTime
- newPosition = (directionOfMove * deltaT) + oldPosition;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement