This repository was archived by the owner on Jun 13, 2020. It is now read-only.
This repository was archived by the owner on Jun 13, 2020. It is now read-only.
Multi line strings #692
Open
Description
vertex_shader: string = `
attribute vec3 vertex;
attribute vec3 normal;
attribute vec2 uv1;
attribute vec4 tangent;
uniform mat4 _mv;
uniform mat4 _mvProj;
uniform mat3 _norm;
uniform float _time;
varying vec2 uv;
varying vec3 n;
void main(void) {
gl_Position = _mvProj * vec4(vertex, 1.0);
uv = uv1;
n = normalize(_norm * normal);
}
`;
The symbols for denoting a multi-line string are up for debate, though we're okay with `
, and we also thought about allowing for matching pairs so:
```blah```
``blah``
And so on are valid.