Correct point utility
This commit is contained in:
parent
6d233b5ee9
commit
d51d43f481
@ -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