Rotatable cube.
Cube object consists of 8 vertices and a vertex color for each vertex.
Rotation transformation is applied to the object using fixed-axis system.
Program files can be downloaded here.
PC requirements: DirectX 11 supported graphics card, Windows 7/8/8.1/10/11, Visual C++ Redistributable Packages for Visual Studio 2013(x86).
Control:
Left-click anywhere in the scene then hold left-click and drag the mouse to rotate the object.
Platform: Windows
Programming Language: C/C++, HLSL