Skip to content

Commit 4809ea5

Browse files
doc: Fix layout of ASCII drawing in Aabb docs.
1 parent 16a85ef commit 4809ea5

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/bounding_volume/aabb.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,13 @@ impl Aabb {
3838
/// Here is how the faces are numbered, assuming
3939
/// a right-handed coordinate system:
4040
///
41+
/// ```text
4142
/// y 3 - 2
4243
/// | 7 − 6 |
43-
/// ___ x | | 1 (the zero is below 3 and on the left of 1, hidden by the 4-5-6-7 face.)
44-
/// / 4 - 5
44+
/// ___ x | | 1 (the zero is below 3 and on the left of 1,
45+
/// / 4 - 5 hidden by the 4-5-6-7 face.)
4546
/// z
47+
/// ```
4648
#[cfg(feature = "dim3")]
4749
pub const EDGES_VERTEX_IDS: [(usize, usize); 12] = [
4850
(0, 1),
@@ -66,11 +68,13 @@ impl Aabb {
6668
/// Here is how the faces are numbered, assuming
6769
/// a right-handed coordinate system:
6870
///
71+
/// ```text
6972
/// y 3 - 2
7073
/// | 7 − 6 |
71-
/// ___ x | | 1 (the zero is below 3 and on the left of 1, hidden by the 4-5-6-7 face.)
72-
/// / 4 - 5
74+
/// ___ x | | 1 (the zero is below 3 and on the left of 1,
75+
/// / 4 - 5 hidden by the 4-5-6-7 face.)
7376
/// z
77+
/// ```
7478
#[cfg(feature = "dim3")]
7579
pub const FACES_VERTEX_IDS: [(usize, usize, usize, usize); 6] = [
7680
(1, 2, 6, 5),

0 commit comments

Comments
 (0)