Engine prototype #13
@ -39,7 +39,7 @@ rand_on_shell(shells::Array{<:Number}) = rand_on_shell(Random.default_rng(), she
|
|||||||
|
|
||||||
# === elements ===
|
# === elements ===
|
||||||
|
|
||||||
point(pos) = [pos; 1; dot(pos, pos)]
|
point(pos) = [pos; -1; 0.25 * dot(pos, pos)]
|
||||||
|
|
||||||
plane(normal, offset) = [normal; 0; offset]
|
plane(normal, offset) = [normal; 0; offset]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user