Think you can do this ??

The rotating cube in the image is nice to see, right?

But then, do you think you have the skills to implement it using “C” ? Get your Brain cracking and try it!

Problem statement:

Implement a cube using C with one face of it colored, which can be rotated on any arbitrary axis when you press a key (when you press

“up arrow” it rotates through 15 degrees, clock wise and

“down arrow” to rotate through 15 degrees, counter clock wise).

We all know that its not going to appear in a JNTU exam, but then, its worth doing, as you are going to win yourself Rs 500/- hard cash sponsored by our Principal, Prof. Jandhyala N Murthy!

All correct submissions will be evaluated and the best among those will be awarded the prize. Email your Answers as an attachment to  griet.refl at gmail dot com

For any Further queries please use the comment feature.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s