forked from StudioInfinity/dyna3
Correct point utility again
The balance between the light cone basis vectors was wrong, throwing the point's coordinates off by a factor of two.
This commit is contained in:
parent
69a704d414
commit
d0340c0b65
2 changed files with 6 additions and 6 deletions
|
@ -39,7 +39,7 @@ rand_on_shell(shells::Array{<:Number}) = rand_on_shell(Random.default_rng(), she
|
|||
|
||||
# === elements ===
|
||||
|
||||
point(pos) = [pos; 1; 0.25 * dot(pos, pos)]
|
||||
point(pos) = [pos; 0.5; 0.5 * dot(pos, pos)]
|
||||
|
||||
plane(normal, offset) = [normal; 0; offset]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue