(A, B B2Transform)
| 672 | } |
| 673 | |
| 674 | func B2TransformMul(A, B B2Transform) B2Transform { |
| 675 | q := B2RotMul(A.Q, B.Q) |
| 676 | p := B2Vec2Add(B2RotVec2Mul(A.Q, B.P), A.P) |
| 677 | |
| 678 | return MakeB2TransformByPositionAndRotation(p, q) |
| 679 | } |
| 680 | |
| 681 | func B2TransformMulT(A, B B2Transform) B2Transform { |
| 682 | q := B2RotMulT(A.Q, B.Q) |
nothing calls this directly
no test coverage detected