Initialize from an angle in radians
(anglerad float64)
| 369 | |
| 370 | /// Initialize from an angle in radians |
| 371 | func MakeB2RotFromAngle(anglerad float64) B2Rot { |
| 372 | return B2Rot{ |
| 373 | S: math.Sin(anglerad), |
| 374 | C: math.Cos(anglerad), |
| 375 | } |
| 376 | } |
| 377 | |
| 378 | func NewB2RotFromAngle(anglerad float64) *B2Rot { |
| 379 | res := MakeB2RotFromAngle(anglerad) |
no outgoing calls
no test coverage detected