(type)
| 68728 | } |
| 68729 | } |
| 68730 | function typeToChannelCount(type) { |
| 68731 | switch(type){ |
| 68732 | case "float": |
| 68733 | return 1; |
| 68734 | case "vec2": |
| 68735 | return 2; |
| 68736 | case "vec3": |
| 68737 | return 3; |
| 68738 | case "vec4": |
| 68739 | return 4; |
| 68740 | default: |
| 68741 | (0, _utils.assert)(false); |
| 68742 | return null; |
| 68743 | } |
| 68744 | } |
| 68745 | function convertToVec4(variable, type) { |
| 68746 | switch(type){ |
| 68747 | case "float": |
nothing calls this directly
no outgoing calls
no test coverage detected