23.10.2014 Views

3D Objects in OpenGL

3D Objects in OpenGL

3D Objects in OpenGL

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Draw<strong>in</strong>g <strong>3D</strong> Object<br />

void glutWireCube(double size);<br />

void glutSolidCube(double size);<br />

For example:<br />

glutWireCube(1.0f);<br />

glutSolidCube(1.0f);<br />

4

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!