Cube

Informations

Author: Luciano Salvino
License: FPDF

Description

You can create a cube and rotate it around the x, y, z axes using the following function:

Cube(float a, float b, float c, float scale, float alfax, float alfay, float alfaz)

where a, b and c are the cube dimensions; scale is the scaling factor; alfax, alfay and alfaz are the rotation angles.