Docs.rs
firework-rs-0.3.1
firework-rs 0.3.1
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
Wayoung7
Dependencies
clap ^4.5.2
normal
crossterm ^0.27.0
normal
glam ^0.25.0
normal
rand ^0.8.5
normal
rand_distr ^0.4.3
normal
Versions
56.56%
of the crate is documented
Platform
aarch64-apple-darwin
aarch64-unknown-linux-gnu
i686-pc-windows-msvc
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
distance_squared
firework_
rs
0.3.1
In firework_
rs::
utils
firework_rs
::
utils
Function
distance_
squared
Copy item path
Source
pub fn distance_squared(a:
Vec2
, b:
Vec2
) ->
f32
Expand description
Return squared distance between to points