Rotating cube

Blitz3D Forums/Blitz3D Beginners Area/Rotating cube

After creating the cube, use VertexColor to set the vertex colors for the cube:
surf = GetSurface(cube, 1)
VertexColor surf, 0, 255, 0, 0
VertexColor surf, 1, 255, 0, 0
VertexColor surf, 2, 255, 0, 0
VertexColor surf, 3, 255, 0, 0
EntityFX cube, 2

Another way is texturing the cube so, that one side is red. For this, easiest is to create the cube in a 3d editor.