fix: make single person visitor

This commit is contained in:
efim 2023-11-23 04:33:27 +00:00
parent 3d466953d2
commit f7def011f5
1 changed files with 3 additions and 0 deletions

View File

@ -59,6 +59,9 @@ func (r *roomTableData) Tangens() float64 {
if total == 2 {
return 1
}
if total == 1 {
return 500
}
return math.Tan(math.Pi / float64(r.Total())) // Math.tan(Math.PI/m);
}