Changed to f64 floating point
This commit is contained in:
+7
-5
@@ -1,11 +1,13 @@
|
||||
use crate::state::run;
|
||||
use error_iter::ErrorIter;
|
||||
|
||||
const EPSILON: f32 = 1e-9;
|
||||
const INFINITY: f32 = f32::MAX;
|
||||
const EPSILON_VECTOR: Vector3<f32> = Vector3::new(EPSILON, EPSILON, EPSILON);
|
||||
static ZERO_VECTOR: Vector3<f32> = Vector3::new(0.0, 0.0, 0.0);
|
||||
static UP_VECTOR: Vector3<f32> = Vector3::new(0.0, 1.0, 0.0);
|
||||
const EPSILON: f64 = 1e-9;
|
||||
const INFINITY: f64 = f64::MAX;
|
||||
const EPSILON_VECTOR: Vector3<f64> = Vector3::new(EPSILON, EPSILON, EPSILON);
|
||||
static ZERO_VECTOR: Vector3<f64> = Vector3::new(0.0, 0.0, 0.0);
|
||||
static UP_VECTOR: Vector3<f64> = Vector3::new(0.0, 1.0, 0.0);
|
||||
static ZERO_VECTOR_F32: Vector3<f32> = Vector3::new(0.0, 0.0, 0.0);
|
||||
static UP_VECTOR_F32: Vector3<f32> = Vector3::new(0.0, 1.0, 0.0);
|
||||
|
||||
use log::error;
|
||||
use std::env;
|
||||
|
||||
Reference in New Issue
Block a user