From 79003ef9688695db056ca30103d0e26290c0d58b Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sat, 12 Oct 2019 21:37:29 -0400 Subject: Correct some errors, and add some extra documentation in the readme. This is the first commit, to the public version. --- README | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) diff --git a/README b/README index 4de8175..94c2e3e 100644 --- a/README +++ b/README @@ -19,7 +19,7 @@ clld is a simple collision checker, that takes two 2D, or 3D points, tests the collision of the points, and outputs the results to stdout. It can do many different types of collision checks, including -tile heightmap, AABB, per pixel, and more. +tile heightmap, AABB, and (possibly) more. @@ -51,14 +51,14 @@ To install clld, run: $ make install You can change the install prefix, and bin directories, by changing -the PREFIX, and BIN environment variables. +the PREFIX, and BIN_DIR environment variables. -By default, PREFIX, and BIN are set to /usr/local, and bin respectivly. +By default, PREFIX, and BIN_DIR are set to /usr/local, and bin respectivly. 2.3. Running -Run `clld --help`, or `clld -h` to get information about the options. +Run `clld -h` to get information about the options. @@ -70,22 +70,34 @@ cursor position, and the floor position. The input format looks like this: +, , [, ] +, +, , [, +, , [, ] +, -The collision flag is set, when a collision has occured. +The x, and y collision flags are set, when a collision has occured on +either the x, or y axis. The grounded flag is set when the cursors y coordinate matches the floors y coordinate. Cursor x, y, and z are the new coordinates for the cursor to be set to. +The Cursor x, and y velocity are the new speed values of the cursor. + The datatypes for each of the fields are: -Collision flag: flag -Grounded flag: flag -Cursor position: integer, or floating point +Collision flag: flag +Grounded flag: flag +Cursor position: integer, or floating point +Cursor axial velocities: floating point -- cgit v1.2.3-13-gbd6f