Skip to content

Commit 922f9cf

Browse files
committed
Bump version
1 parent 9f1ac06 commit 922f9cf

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ImplicitBVH"
22
uuid = "932a18dc-bb55-4cd5-bdd6-1368ec9cea29"
33
authors = ["Andrei Leonard Nicusan <[email protected]> and contributors"]
4-
version = "0.5.2"
4+
version = "0.5.3"
55

66
[deps]
77
AcceleratedKernels = "6a4ca0a5-0e36-4168-a932-d9be78d558f1"

test/runtests.jl

-10
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,6 @@ end
373373

374374
# Extensive ray tests
375375
# Spehere for testing
376-
377376
p1 = Float64[0.7944654, 1.1890014, -9.944]
378377
p2 = Float64[0.7944654, 1.1890014, 9.944]
379378
p3 = Float64[1.0111626, 1.0111626, 9.944]
@@ -423,7 +422,6 @@ end
423422
# All points that lie to the left of the sphere center and in the circle in the yz plane
424423
# should have a contact. Contacts to the right of the sphere center should only occur if the point is
425424
# inside the sphere
426-
427425
x_plus_calculated_contacts = []
428426
for i in 1:size(points, 2)
429427
if points[1, i] <= sphere.x[1] && norm(points[2:3, i] .- sphere.x[2:3]) <= sphere.r
@@ -439,7 +437,6 @@ end
439437
# All points that lie to the right of the sphere center and in the circle in the yz plane
440438
# should have a contact. Contacts to the left of the sphere center should only occur if the point is
441439
# inside the sphere
442-
443440
x_minus_calculated_contacts = []
444441
for i in 1:size(points, 2)
445442
if points[1, i] >= sphere.x[1] && norm(points[2:3, i] .- sphere.x[2:3]) <= sphere.r
@@ -455,9 +452,7 @@ end
455452
# All points that lie below the sphere center and in the circle in the xz plane
456453
# should have a contact. Contacts above the sphere center should only occur if the point is
457454
# inside the sphere
458-
459455
y_plus_calculated_contacts = []
460-
461456
for i in 1:size(points, 2)
462457
if points[2, i] <= sphere.x[2] && norm(points[[1,3], i] .- sphere.x[[1,3]]) <= sphere.r
463458
push!(y_plus_calculated_contacts, i)
@@ -472,9 +467,7 @@ end
472467
# All points that lie above the sphere center and in the circle in the xz plane
473468
# should have a contact. Contacts below the sphere center should only occur if the point is
474469
# inside the sphere
475-
476470
y_minus_calculated_contacts = []
477-
478471
for i in 1:size(points, 2)
479472
if points[2, i] >= sphere.x[2] && norm(points[[1,3], i] .- sphere.x[[1,3]]) <= sphere.r
480473
push!(y_minus_calculated_contacts, i)
@@ -489,7 +482,6 @@ end
489482
# All points that lie below the sphere center and in the circle in the xy plane
490483
# should have a contact. Contacts above the sphere center should only occur if the point is
491484
# inside the sphere
492-
493485
z_plus_calculated_contacts = []
494486
for i in 1:size(points, 2)
495487
if points[3, i] <= sphere.x[3] && norm(points[1:2, i] .- sphere.x[1:2]) <= sphere.r
@@ -505,7 +497,6 @@ end
505497
# All points that lie above the sphere center and in the circle in the xy plane
506498
# should have a contact. Contacts below the sphere center should only occur if the point is
507499
# inside the sphere
508-
509500
z_minus_calculated_contacts = []
510501
for i in 1:size(points, 2)
511502
if points[3, i] >= sphere.x[3] && norm(points[1:2, i] .- sphere.x[1:2]) <= sphere.r
@@ -516,7 +507,6 @@ end
516507
end
517508

518509
@test z_minus_p_contacts == z_minus_calculated_contacts
519-
520510
end
521511

522512

0 commit comments

Comments
 (0)