Colored Cube Wii U
From GameBrew
More actions
| Colored Cube | |
|---|---|
| General | |
| Author | Dimok |
| Type | Demos |
| Version | 2016 |
| License | Mixed |
| Last Updated | 2016/03/15 |
| Links | |
| Download | |
| Website | |
| Source | |
A demo homebrew written in C that showcases a rotating colored cube made from triangle primitives, demonstrating the use of the WiiU GX2 engine. It uses GLM library as the math library for matrix/vector calculations.
The GX2 example was adapted from an OpenGL tutorial, with enhancements including:
- Added automatic cube rotation (initially).
- Added GamePad D-PAD controls to rotate the cube manually.
- Changed aspect ratio to 16:9 instead of 4:3.
The GLSL shader code and other aspects remain the same as the original example.
Controls
D-Pad - Rotate the cube
Home - Quit the app
Compatibility
The application is compatible with HBL v1.1.