Wednesday, December 2, 2009

Week 9 Day 4

Currently after much thinking on yesterday's problem regarding vertical and horizontal rotation, I have decided to create a method that handles each separate rotation, and calling them together when the needs arrive.

Upon coding for rotation in the other direction, I realise that due to the way the cubes were drawn in my codes, there will be a bit of problem with the rotation of the other side, unless I were to redraw the cube upon every rotation.

As such, I have created a struct that stores a vector that stores yet another struct that stores each details of the individual points declared in my code.

Declaring the struct and vector was easy, but not the storing of the points into it.

No comments:

Post a Comment