Skip to content

Commit f8eb631

Browse files
committed
Added support for double-precision
1 parent 6548821 commit f8eb631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

godot-core/src/builtin/aabb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,8 +360,8 @@ impl Aabb {
360360

361361
let segment_dir = to - from;
362362

363-
let mut t_min: f32 = 0.0;
364-
let mut t_max: f32 = 1.0;
363+
let mut t_min: real = 0.0;
364+
let mut t_max: real = 1.0;
365365

366366
for axis in [Vector3Axis::X, Vector3Axis::Y, Vector3Axis::Z] {
367367
let inv_dir = 1.0 / segment_dir[axis];

0 commit comments

Comments
 (0)