1
2
Fork 0
mirror of https://github.com/mat-1/azalea.git synced 2025-08-02 06:16:04 +00:00

make azalea-pathfinder dir

This commit is contained in:
Ubuntu 2022-09-29 20:10:50 +00:00
parent aa78491ee0
commit ce0ab8b79c
5 changed files with 38 additions and 0 deletions

4
Cargo.lock generated
View file

@ -229,6 +229,10 @@ dependencies = [
"num-traits",
]
[[package]]
name = "azalea-pathfinder"
version = "0.1.0"
[[package]]
name = "azalea-physics"
version = "0.1.0"

View file

@ -16,6 +16,7 @@ members = [
"azalea-buf",
"azalea-physics",
"azalea-registry",
"azalea-pathfinder",
]
[profile.release]

View file

@ -0,0 +1,8 @@
[package]
name = "azalea-pathfinder"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]

View file

@ -0,0 +1,11 @@
# Azalea Pathfinder
Depended on by `azalea` for pathfinding.
TODO: actually implement it
## How it works
d* lite and stuff

View file

@ -0,0 +1,14 @@
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}