Params represents params for GoThree.js library.
| 2 | |
| 3 | // Params represents params for GoThree.js library. |
| 4 | type Params struct { |
| 5 | Angle float64 `json:"angle"` |
| 6 | AngleSecond float64 `json:"angle2"` |
| 7 | Caps bool `json:"allCaps"` |
| 8 | Distance int `json:"distance"` |
| 9 | DistanceSecond int `json:"distance2"` |
| 10 | AutoAngle bool `json:"autoAngle"` |
| 11 | } |
| 12 | |
| 13 | func GuessParams(c Commands) *Params { |
| 14 | goroutines := make(map[int]int) // map[depth]number |
nothing calls this directly
no outgoing calls
no test coverage detected