Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Format the headings
  • Loading branch information
test2183717 committed Oct 31, 2014
1 parent 6fb047e commit 713e92d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
SpaceSimulator
==============

Introduction
## Introduction

The Space Simulator is an application that has been developed using the C++ language using the
GLUT and OpenGL libraries. The application responds to some user input. The goal of the application
was to simulate a universe (or a space if you will) and to display this with some simple graphics.

Classes
## Classes

The classes used in the project are as follows:
• Window
Expand All @@ -32,19 +32,18 @@ The classes used in the project are as follows:
• Coordinate
o Handles coordinates in the application.

User Input
## User Input

The application responds to some user input as listed here:
• The ‘+’ and ‘–‘-buttons zoom in and out, respectively.
• The ‘n’ button follows the next object in space(default is the sun)
• The ‘q’ button exits the application
• The delete button deletes the last object added into space.
• A left mouse click creates a planet at the pointers position with a speed relative to the press
and release position difference. More objects can be created within the main function. Follow the guidelines given there, first create
an object and then add it to the space to be displayed in. Multiple stars can be created (to a
and release position difference. More objects can be created within the main function. Follow the guidelines given there, first create an object and then add it to the space to be displayed in. Multiple stars can be created (to a
maximum of 8) which all will emit light.

Dependencies
## Dependencies

The program is displaying graphics using GLUT and therefore the GLUT files are needed. These can be
found in the ‘dependencies’ folder.

0 comments on commit 713e92d

Please sign in to comment.