Thursday, January 14, 2010

Week 16 Day 3

Today I worked on implementing a new method for snapping the entire cube. This was because the previous snapping method was implemented and achieved by using a stored variable which stores the distance the user have moved for each layer and each plane. This may became inaccurate over time due to the number of movements a user have to move to solve the rubic cube.

Hence the new method would snap the cube by measuring first, where each of the cube are, and second, where is the nearest point it should snap to based on its current position.

No comments:

Post a Comment