Skip to content

AbsoluteZero919/Rubikscube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Rubik's Cube

This is a simulation of a fully functional Rubik's cube through Computer Graphics using OpenGL in C language.
The keys for different operations can be seen by right-clicking on the output screen. We can select the operations right there or press the keys mentioned in it.
We can also click and drag around to change the orientation of the cube.

Initiation and Execution

To execute this in a Linux terminal, the commands are:

  • To open the file: gedit RCube.c
  • To compile the file: gcc RCube.c -lGL -lGLU -lglut -lm
  • To execute the file: ./a.out

Make sure OpenGL is installed in the system to run this program.

About

Computer Graphics Project using OpenGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages