Skip to content

Commit

Permalink
[doc] Added reference page about octree collision
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmNotHanni committed Jun 9, 2021
1 parent 142323c commit 8d177ec
Show file tree
Hide file tree
Showing 14 changed files with 216 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentation/source/development/reference/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ Reference
binary-format-specification
keyboard-mouse-input
octree-file-format
octree-collision
187 changes: 187 additions & 0 deletions documentation/source/development/reference/octree-collision.rst

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions documentation/source/development/reference/octree-file-format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,34 @@ If blocks or corners are ordered, they use this order.
6, "(1, 1, 0)"
7, "(1, 1, 1)"

**Order of Faces**

The following order of faces is used:

.. csv-table:: Order of Face
:header: ID, Name, Normal vector

0, "left", "(-1, 0, 0)"
1, "right", "(1, 0, 0)"
2, "front", "(0, 1, 0)"
3, "back", "(0, -1, 0)"
4, "top", "(0, 0, 1)"
5, "bottom", "(0, 0, -1)"

**Order of Indices on Face**

The following corner indices are associated to the faces:

.. csv-table:: Order of Indices on Face
:header: ID, Indices

0, "0, 1, 2, 3"
1, "4, 5, 6, 7"
2, "0, 1, 4, 5"
3, "2, 3, 6, 7"
4, "1, 3, 5, 7"
5, "0, 2, 4, 6"

**Edge Order**

- All edges are going into the positive direction of the axis.
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8d177ec

Please sign in to comment.