Skip to content

Commit

Permalink
Logging improvements, and radix sort with vec2 lexicographic fixed bi…
Browse files Browse the repository at this point in the history
…t function
  • Loading branch information
jonathanolson committed Nov 24, 2023
1 parent da0a768 commit 2e951a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/wgslPreprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 => {
Expand Down

0 comments on commit 2e951a5

Please sign in to comment.