Commit 5826708c authored by Maxwell F. (Max) Chen's avatar Maxwell F. (Max) Chen
Browse files

demo ordering

parent 1e288dc0
Showing with 5 additions and 5 deletions
+5 -5
......@@ -19,10 +19,6 @@ struct state {
// TODO: Add any other fields in state you need for your demo
};
state_t *emscripten_init() {
// TODO: Initialize the state
}
/** Make a circle-shaped body object.
*
* @param center a vector representing the center of the body.
......@@ -55,7 +51,7 @@ body_t *make_circle(vector_t center, double radius, double mass,
* @param center a vector representing the center of the pacman
* @return list of vectors representing points of pacman object.
*/
list_t *get_pacman(vector_t center) {
list_t *make_pacman(vector_t center) {
list_t *points = list_init(1, free);
vector_t *vec = malloc(sizeof(vector_t));
assert(vec);
......@@ -79,6 +75,10 @@ list_t *get_pacman(vector_t center) {
return points;
}
state_t *emscripten_init() {
// TODO: Initialize the state
}
void emscripten_main(state_t *state) {
// TODO: Implement the main loop
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment