fix: make single person visitor
This commit is contained in:
parent
3d466953d2
commit
f7def011f5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue