Const
Interleaved vertex stride in floats — must equal VERTEX_STRIDE / 4 from mesh.js (48 bytes / 4 = 12 floats: pos3, normal3, uv2, tangent4). Defined here (not imported) to keep this module free of the GPU-side mesh.js; the caller asserts the two agree.
VERTEX_STRIDE / 4
mesh.js
Interleaved vertex stride in floats — must equal
VERTEX_STRIDE / 4frommesh.js(48 bytes / 4 = 12 floats: pos3, normal3, uv2, tangent4). Defined here (not imported) to keep this module free of the GPU-sidemesh.js; the caller asserts the two agree.