Improved animation performance

This commit is contained in:
2024-02-28 12:15:58 +01:00
parent ded6f51c5d
commit cb4dd41358
9 changed files with 63 additions and 52 deletions

@ -7,7 +7,7 @@ import (
)
var (
SpawnPoint = Vector3{584.98, 9.5, 394.68}
SpawnPoint = Vector3{584.98, 9.8, 394.68}
accounts = map[string]*Account{}
)
@ -19,7 +19,7 @@ func init() {
func MakeTestAccounts() {
for i := range 500 {
angle := rand.Float64() * math.Pi * 2
distance := rand.Float64() * 12.0
distance := rand.Float64() * 25.0
accounts[fmt.Sprintf("user%d", i)] = &Account{
ID: fmt.Sprintf("id%d", i),