From 2e951a502b34af8ea38a7e065bc8f0fb09f5e5e7 Mon Sep 17 00:00:00 2001 From: Jonathan Olson Date: Thu, 23 Nov 2023 21:42:16 -0700 Subject: [PATCH] Logging improvements, and radix sort with vec2 lexicographic fixed bit function --- js/common/wgslPreprocess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/common/wgslPreprocess.js b/js/common/wgslPreprocess.js index 3e6ed930a..a45c7fc82 100644 --- a/js/common/wgslPreprocess.js +++ b/js/common/wgslPreprocess.js @@ -77,7 +77,7 @@ class Code { if ( this.isRoot ) { result += `// Copyright ${new Date().getFullYear()}, University of Colorado Boulder\n\n`; - result += `import { u32, i32, f32, u32Hex, i32Hex, ConsoleLogger, ConsoleLoggedLine, ByteEncoder, U32Type, I32Type, Vec2uType, getArrayType } from '${pathToRoot}alpenglow/js/imports.js'\n`; + result += `import { u32, i32, f32, u32Hex, i32Hex, ConsoleLogger, ConsoleLoggedLine, ByteEncoder, U32Type, I32Type, Vec2uType, Vec3uType, Vec4uType, getArrayType } from '${pathToRoot}alpenglow/js/imports.js'\n`; result += `import { ${repoName} } from '${pathToRoot}${repoName}/js/imports.js'\n`; const imports = _.uniq( this.allImports ).sort(); imports.forEach( importString => {