Engine prototype #13

Merged
glen merged 133 commits from engine-proto into main 2024-10-21 03:18:48 +00:00
Showing only changes of commit 9d69a900e2 - Show all commits

View File

@ -28,14 +28,14 @@ for s in 1:9
end end
if s > 3 if s > 3
# each chain sphere is externally tangent to the two nucleus spheres # each chain sphere is externally tangent to the "sun" and "moon" spheres
for n in 2:3 for n in 2:3
append!(J, [s, n]) append!(J, [s, n])
append!(K, [n, s]) append!(K, [n, s])
append!(values, [-1, -1]) append!(values, [-1, -1])
end end
# each chain sphere is externally tangent to the next sphere in the chain # each chain sphere is externally tangent to the next chain sphere
s_next = 4 + mod(s-3, 6) s_next = 4 + mod(s-3, 6)
append!(J, [s, s_next]) append!(J, [s, s_next])
append!(K, [s_next, s]) append!(K, [s_next, s])