Skip to content

2016. A Rubik's cube implementation in C++11, OpenGL >2.0 using SDL2, GLM libraries

Notifications You must be signed in to change notification settings

2lx/rubiks_cube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Rubik's cube implementation in C++11, OpenGL >2.0 using SDL2, GLM libraries. Version 0.7

alt tag

####Hotkeys Turn clockwise:

  • w - up face (U),
  • s - down face (D),
  • a - left face (L),
  • d - right face (R),
  • q - back face (B),
  • e - front face (F),
  • left mouse button.

Turn counter-clockwise:

  • ctrl + w - up face (U'),
  • ctrl + s - down face (D'),
  • ctrl + a - left face (L'),
  • ctrl + d - right face (R'),
  • ctrl + q - back face (B'),
  • ctrl + e - front face (F'),
  • left mouse button.

Rotates the entire cube:

  • Up, Down - about X axis,
  • Left, Right - about Y axis,
  • Delete, PgDown - about Z axis,
  • right mouse button.

Game:

  • F1 - reset cube state,
  • F4 - mix up the colors,
  • F5 - enable/disable background effects,
  • F6 - change projection (dimetric or isometric),
  • F7 - change textures,
  • z - undo the last action.

About

2016. A Rubik's cube implementation in C++11, OpenGL >2.0 using SDL2, GLM libraries

Resources

Stars

Watchers

Forks

Packages

No packages published