Skip to content

Commit

Permalink
fixed some broken links in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
JeroenGar committed Nov 12, 2024
1 parent b096755 commit d0d8caf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build and deploy Jagua-rs docs
- name: Build and deploy jagua-rs docs
run: |
cd lbf
cargo doc --all
RUSTDOCFLAGS="-D warnings" cargo doc --all
- name: Deploy docs
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build Jagua-rs (f32)
- name: Build jagua-rs (f32)
run: |
cd jagua-rs
cargo build --all-targets
cargo doc
- name: Build Jagua-rs (f64)
- name: Build jagua-rs (f64)
run: |
cd jagua-rs
cargo build --all-targets --features double-precision
Expand Down
4 changes: 2 additions & 2 deletions jagua-rs/src/collision_detection/quadtree/qt_hazard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@ use crate::geometry::primitives::aa_rectangle::AARectangle;
use crate::geometry::primitives::simple_polygon::SimplePolygon;
use crate::util::assertions;

/// Represents the manifestation of a [Hazard] in a [QTNode]
/// Represents the manifestation of a [Hazard] in a [QTNode](crate::collision_detection::quadtree::qt_node::QTNode)
#[derive(Clone, Debug)]
pub struct QTHazard {
pub entity: HazardEntity,
pub presence: QTHazPresence,
pub active: bool,
}

/// How a [Hazard] is present in a [QTNode]
/// How a [Hazard] is present in a [QTNode](crate::collision_detection::quadtree::qt_node::QTNode)
#[derive(Clone, Debug)]
pub enum QTHazPresence {
/// The hazard is entirely absent from the node
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use crate::collision_detection::quadtree::qt_traits::QTQueryable;
use crate::geometry::geo_traits::{CollidesWith, Shape};
use crate::geometry::primitives::simple_polygon::SimplePolygon;

/// Defines a set of edges from a hazard that is partially active in the [QTNode].
/// Defines a set of edges from a hazard that is partially active in the [QTNode](crate::collision_detection::quadtree::qt_node::QTNode).
#[derive(Clone, Debug)]
pub struct PartialQTHaz {
pub shape: Weak<SimplePolygon>,
Expand Down

0 comments on commit d0d8caf

Please sign in to comment.