mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
remove git diff and hypot
This commit is contained in:
@@ -30,11 +30,3 @@ pub fn magnitude(a: f64, b: f64, c: f64) -> f64 {
|
||||
pub const fn get_section_cord(coord: i32) -> i32 {
|
||||
coord >> 4
|
||||
}
|
||||
|
||||
pub fn squared_hypot(a: f64, b: f64) -> f64 {
|
||||
a * a + b * b
|
||||
}
|
||||
|
||||
pub fn hypot(a: f64, b: f64) -> f64 {
|
||||
squared_hypot(a, b).sqrt()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
<<<<<<< HEAD
|
||||
use std::collections::HashMap;
|
||||
|
||||
use thiserror::Error;
|
||||
|
||||
Reference in New Issue
Block a user