(out, v)
| 71758 | return out; |
| 71759 | } |
| 71760 | function fromTranslation(out, v) { |
| 71761 | out[0] = 1; |
| 71762 | out[1] = 0; |
| 71763 | out[2] = 0; |
| 71764 | out[3] = 0; |
| 71765 | out[4] = 1; |
| 71766 | out[5] = 0; |
| 71767 | out[6] = v[0]; |
| 71768 | out[7] = v[1]; |
| 71769 | out[8] = 1; |
| 71770 | return out; |
| 71771 | } |
| 71772 | function fromRotation(out, rad) { |
| 71773 | var s = Math.sin(rad), c = Math.cos(rad); |
| 71774 | out[0] = c; |
nothing calls this directly
no outgoing calls
no test coverage detected