Execute world-aware placement modifiers

This commit is contained in:
Daniar Mannanov 2026-08-11 12:33:35 +03:00
parent 053c5bec6a
commit 11440f556c
5 changed files with 336 additions and 4 deletions

View file

@ -71,3 +71,12 @@ func TestLegacyVectors(t *testing.T) {
}
}
}
func TestLegacySetSeedResetsGaussianCache(t *testing.T) {
r := NewLegacy(12345)
first := r.NextGaussian()
r.SetSeed(12345)
if got := r.NextGaussian(); got != first {
t.Fatalf("NextGaussian after SetSeed = %v, want %v", got, first)
}
}