This commit is contained in:
Quaternions 2024-08-22 12:55:14 -07:00
parent 78202beb53
commit e5e7ccaa3f

View File

@ -1,5 +1,8 @@
use strafesnet_common::integer::{Planar64,Planar64Vec3}; use strafesnet_common::integer::{Planar64,Planar64Vec3};
// This algorithm is based on Lua code
// written by Trey Reynolds in 2021
// 1/2^10 // 1/2^10
const EPSILON:Planar64=Planar64::raw(1<<(32-10)); const EPSILON:Planar64=Planar64::raw(1<<(32-10));